This is the source for the WUSB main website at wusb.fm.
Live demo exists at : http://159.203.71.125:3000/
##Team: Manager: Peter Jasko
Frontend: Ken Fehling
Frontend: Philippe Kimura-Thollander
Backend: Peter Geiss
#Running the Server in development
- Fork the respository, then
git clone
your fork onto your computer.cd
into it. npm install
(if you add an npm module, be sure to add it to package.json so npm responds to it)- If MongoDB isn't running, start it with
sudo mongod
npm start
and you're ready to go.
Want to run the tests? Perform these steps and npm install -g mocha
, then run mocha
while mongod
is running.
#Running the Server in production
- Fork the respository, then
git clone
your fork onto your computer.cd
into it. npm install
(if you add an npm module, be sure to add it to package.json so npm responds to it)touch .env
and addCOOKIE_SECRET=some long string here
(no spaces, keystone might be able to automatically generate it for you) to the file.touch database.js
and addexports.uri = 'your MongoDB URI here';
export NODE_ENV='production'; npm start
and you're ready to go.