-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please proactive gulp build for JS/CSS #106
Comments
The key issue is not easy to install gulp-sass which depend on node-sass which also need python2.7 (you cannot use python3.5*) So, please state the tool chain in your readme.md if possible, thanks. |
We cannot do this because it is constantly generated and changes rapidly.
I am curious about how you managed to involve Python?
We have a guide to our build chain in our readme.
Apart from installing Node.js and Gulp globally, just run `npm install` at
the root folder.
|
@ScottHuangZL if you want to work on the site, you need the tools to re-build the css/js anyway. If you just want to take a look at the current state, see http://yiiframework.domain-na.me/ If you have concrete issues, feel free to post them and we'll try to help. On debian installing the toolchain went quite easy for me, what system are you on? |
Once you managed to install it - by following our readme - then you can use that knowledge for other projects of yours. |
If you are on Windows @ScottHuangZL then please read the readme as you might face a problem that has been solved already - check it out before you attempt to install again. :) |
Yeah, I am use Window. |
That suggests that you are on an unsupported platform so you need to
compile.
Did you install the build tools as suggested in our readme?
But installing Python is easy.
If you use WinPython then it is easy to switch between 2.x and 3.x
I did that when I used Windows. I am not a Windows user anymore because of
Windows 10....
|
Yeah, I am successfully install all, and the yiiframework.com run smoothly in my notebook already:) And, how about add .htaccess file into the root folder and web folder? One example like below: |
The alternative to node-sass is to use Ruby sass and then you would have to
install Ruby and the sass gem...
So,even if node sass fails to fetch on a few systems it is better than
having to force everyone to get Ruby and Sass.
|
haha, Python more popular than Ruby. To be frankly, I try gulp-ruby-sass last night too, it can install, but emit some errors when try gulp build. So, I use gulp-sass again at last, and it is work, just need remind guys to install Python2.5 ~ <3.0 in advance. |
Great to hear that you got it sorted out :)
The goal for this project is not to attract newbies, BTW. :p
|
One proposal:
Please proactive build out all.min.js and all.min.css
Instead of asking each guy try to install npm, install gulp, and build, it is waste time.
In other word, except php/yii2 composer, the others please include into github already. Thanks.
Thanks
Regards,
Scott Huang
The text was updated successfully, but these errors were encountered: