Democratic Project Manager
This will be a web app used for collectives of people to manage democratically controlled projects.
Building the Code
All of the code for the front-end web app is tested, compiled, and minified using the Grunt build system. All 3rd party dependencies are managed using NPM and Bower.
Set up your development environment
You only have to follow these steps once, to get all of the build tools on your dev machine
- Download and install nodejs
npm install -g bower npm install -g grunt-cli npm install -g karma
Pull down the build dependencies using NPM
cd /path/to/project/root npm install
Whenever the source code changes, it must be rebuilt before it will run in production.
cd /path/to/project/root grunt
You can use Vagrant to set up a completely isolated development and test environment on any PC.
- Install VirtualBox
- Install Vagrant
From the project folder, start vagrant
- In your browser, navigate to http://127.0.0.1:55555/dev
- Any changes to the source will be immediately reflected after a browser refresh
- To run the compiled, production code instead, navigate to http://127.0.0.1:55555/