Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.14 KB

straliens-server

Requirements

  • NodeJS & NPM
  • CoffeeScript sudo npm install -g coffee-script
  • A MySQL-compatible database (you should look at MariaDB)

Installation

  • 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

Run

  • coffee server.coffee