Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.26 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.26 KB

CNTO web development and script repository

Our CSS and JS are generated using Gulp and Sass.

Web development environment

Windows

  1. 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.
  2. Run: npm install in your cloned enjin-web directory to install all the required node packages.
  3. If everything was set up correctly, you will be able to start your local webserver with: gulp server
  4. 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.
  5. 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.
  6. Upload files from the /dist directory to the production server as appropriate! Good work!