Our CSS and JS are generated using Gulp and Sass.
- Install gulp by following these instructions. Only steps one and two will be necessary as the project is already setup in the root directory of the repo in the gulpfile.js and package.json files.
- Run:
npm install
in your cloned enjin-web directory to install all the required node packages. - If everything was set up correctly, you will be able to start your local webserver with:
gulp server
- By default, the server will be at http://localhost:3000 and you can view each of the configured pages that use the generated CSS and static html (found in the repo under /html) on pages such as http://localhost:3000/roster.html. This page will refresh automatically as the appropriate SCSS files are changed.
- Once you are happy with your changes you can generate the final minified stuff using:
gulp dist
This will generate everything you need into the /dist directory. - Upload files from the /dist directory to the production server as appropriate! Good work!