Ming Chung University Digital Media Design 12th Game Major Graduate Project.
Create a .env
file and fill Parse.com information like below:
PARSE_APP_NAME=(Your Parse Application Name)
PARSE_APP_ID=(Your Parse Application ID)
PARSE_MASTER_KEY=(Your Parse Application Master Key)
PARSE_JAVASCRIPT_KEY=(Your Parse Application JavaScript Key)
Now, run npm install && git submodule update
to setup development environment.
[email protected]
use[email protected]
and only work on some node/iojs version (due to precompiled config), this project build under iojs-v1.2.0
gulp
- Alias towatch
gulp watch
- Run browser-sync to watch project and livereload.gulp bundle
- Bundle project tobundle
directory.gulp clean
- Clean all generated files.gulp js
- Build JavaScript (js:bundle
to minify and remove sourcemaps )gulp sass
- Compild Sass/Scss file to CSS (css:bundle
to minify and remove sourcempas )gulp images
- Optmimze images.gulp bower:bundle
- Copy bower files for deploy ( Enable bower need to modifygulp/config.js
)
gulp parse:config
- Setup config from.env
file.gulp parse:prepare
- Generate a parse deploy ready directory.gulp parse:deploy
- Deploy website to gulp hosting.