- Straliens REST API Documentation
- CoffeeScript Documentation – important!
- CoffeeScript Style Guidelines
- NodeJS & NPM
- CoffeeScript
sudo npm install -g coffee-script
- A MySQL-compatible database (you should look at MariaDB)
git clone https://github.com/AlsaceDigitale/straliens-server.git
npm install
To create the database, use phpmyadmin, MySQL Workbench or SQL (please use the same db/username/pwd):
$ sudo apt-get install mysql-server
$ mysql -u root -p
mysql> create database straliens;
mysql> grant usage on *.* to straliens@localhost identified by 'stralienspa$$';
mysql> grant all privileges on straliens.* to straliens@localhost ;
Optional : phpmyadmin to visualize/edit the database datas. Try it in three commands:
sudo apt-get install php5-cli php5-mysql
git clone https://github.com/phpmyadmin/phpmyadmin.git
cd phpmyadmin; php -S localhost:8080
coffee server.coffee