-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- Run
npm installafter pull. - Run
webpack --progress --colors --watchin one terminal, wait for it to finish and keep the process running. - Run
bin/wwwin another terminal to start the local server at localhost:8080.
We use Git (hosted on GitHub) to manage source code for this project.
To make any changes to the project you will need to clone the repository by running
https://github.com/jayyay/Knowt.git
For this project we are using Node.js 7.4.0 and NPM 4.1.1, so install those if you don't already have them installed.
Within the newly cloned repository, run the following commands.
npm install - installs needed dependencies and devDependencies from the node package manager. Required packages for this project can be viewed in package.json.
We have set up the dev environment with Babel and Webpack to enable support for ES6 features (like arrow functions) and async/await. While developing, run the following command to transpile as code changes are made.
webpack --progress --colors --watch
To run the project on your local machine, run
bin/www
in the Knowt directory. This will start the application at localhost:8080.