Skip to content
Jay Wang edited this page Mar 31, 2017 · 6 revisions

Welcome to the Knowt wiki!

Knowt

Development

Bottom-line

  1. Run npm install after pull.
  2. Run webpack --progress --colors --watch in one terminal, wait for it to finish and keep the process running.
  3. Run bin/www in another terminal to start the local server at localhost:8080.

Details

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.

Clone this wiki locally