Skip to content
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

Closed
ScottHuangZL opened this issue Dec 29, 2015 · 12 comments
Closed

Please proactive gulp build for JS/CSS #106

ScottHuangZL opened this issue Dec 29, 2015 · 12 comments

Comments

@ScottHuangZL
Copy link

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

@ScottHuangZL
Copy link
Author

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*)
You see need a lot of tool chain...

So, please state the tool chain in your readme.md if possible, thanks.

@jacmoe
Copy link
Contributor

jacmoe commented Dec 29, 2015 via email

@cebe
Copy link
Member

cebe commented Dec 29, 2015

@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?

@cebe cebe closed this as completed Dec 29, 2015
@jacmoe
Copy link
Contributor

jacmoe commented Dec 29, 2015

Once you managed to install it - by following our readme - then you can use that knowledge for other projects of yours.
Foundation is using Sass and Gulp and Bootstrap 4 is using Sass and Grunt, so I think getting used to the work-flow is useful, also in other projects.
So, as soon as you have worked out your problems, the better. ;)

@jacmoe
Copy link
Contributor

jacmoe commented Dec 29, 2015

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. :)

@ScottHuangZL
Copy link
Author

Yeah, I am use Window.
I already compile JS/CSS by myself, not a problem, however, it will be challenge for newbies.
And npm speed is quite slow in China...
So I use mynpm.bat ( "npm --registry http://registry.cnpmjs.org %*") to install all related gulp-plugins
The gulp-sass will need node-sass and it request python2.x to install in advance for build.

@jacmoe
Copy link
Contributor

jacmoe commented Dec 30, 2015 via email

@jacmoe
Copy link
Contributor

jacmoe commented Dec 30, 2015 via email

@ScottHuangZL
Copy link
Author

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:
htaccess.zip

@jacmoe
Copy link
Contributor

jacmoe commented Dec 30, 2015 via email

@ScottHuangZL
Copy link
Author

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.

@jacmoe
Copy link
Contributor

jacmoe commented Dec 30, 2015 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants