a project by students from the HTW Berlin
The documentation can be found in the documentation
folder.
- Install CouchDB from http://couchdb.apache.org/
- Install node.js from http://nodejs.org
- Install brunch from command line via
npm install -g [email protected]
- Navigate to the
CGIP/
folder in the command line - Run
npm install
from the command line - Go to
server
and copyconfig.js.sample
toconfig.js
and fill in your credentials - Create the databases with:
node server/scripts/create_databases.js
- Create the design docs with:
node server/scripts/create_design_docs.js
- Create a user with:
node server/scripts/create_user.js
(will prompt for details) - Run
brunch watch
- Run
node server.js
and open http://localhost:3000 in your browser
- Navigate to the
CGIP/
folder in the command line - Run
brunch watch
from the command line - Edit files in the
app/
folder and all your changes will automatically be recompiled
Git-deployment on Uberspace! For a detailed documentation see documentation/deployment.md.
- Backbone.js for the frontend code
- Eco for the templates
- Stylus as a CSS pre-processor
- CouchDB as a backend
(decision pending)