This project is aimed to provide a platform for the tournaments of EPFL polysports' events.
- Node.js
- Sails js
- Socket.io
- AngularJS
- Angular router
- bootstap 3
- AngularUI bootstrap
- Angular resource sails
It may vary upon your operating system but on ubuntu you just have to run
sudo apt-get install nodejs npm
npm install -g sails grunt-cli bower
Note : It may require root access
git clone https://github.com/GuillaumeLeclerc/tournament-system.git
Note : you can use ssh too
cd tournament-system
npm install
bower install
This is optional, if you don't do this tournament-system will use the sails-disk
adapter
This step depends on the database you want to use, plase read the sails.js documentation.
Run sails in console mode :
sails console
When everything has started you can type :
User.create({id : "guest", name : "Guest Guest", password : "loginisdisableonthisaccount", section : "no section", sex : "male", email : "guest@guest.guest"}, console.log)
Then do the following shortcut to kill the console : Ctrl-D
sails lift