Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Latest commit

 

History

History
77 lines (52 loc) · 2.34 KB

README.md

File metadata and controls

77 lines (52 loc) · 2.34 KB

JSnow!

JSnow! is a learning project offering a ski resort management webapp, made with Node.js and the Express framework.

Objectives

  • Inform skiers about snow conditions at various ski hills.
  • Allow skiers to contribute real-time feedback about the said conditions.

How to use

Dependencies

You will need to install (if you don't already have them):

Simple install

If you just downloaded MongoDB for this application, you must have a folder with a bin folder in it. Simply move that folder to lib/mongodb (so that the binaries are in lib/mongodb, not lib/mongodb/bin).

Then:

git clone git://github.com/MattiSG/JSnow.git	# or simply download a zipball on the "download" tab
cd JSnow
sudo ./jsnow	# sudo is needed to start the Mongo database dæmon

…and you can simply hit localhost:3000 on your favorite browser.

Custom install

If you already have MongoDB in your PATH, then do something along the lines of:

git clone git://github.com/MattiSG/JSnow.git	# or simply download a zipball on the "download" tab
npm install -d	# install all necessary dependencies
mkdir data	# prepare database storage
sudo path/to/your/install/of/mongodb/bin/mongod	# start up MongoDB daemon; possibly see --dbpath option
node app.js	# start the application

…and you can simply hit localhost:3000 on your favorite browser.

Browser compatibility

  • Best seen on Chrome.
  • Any recent WebKit browser will be good.
  • Firefox offers a somewhat degraded experience.
  • Not tested on IE.

Default users

The “skimaster” (admin account) uses the following identification:

  • email: admin@jsnow.fr
  • password: admin

Authors

Credits