Created Debian 8 installation FR (markdown)

mmaura66 2016-03-16 19:46:55 +01:00
parent ef03b7142b
commit e77092b3da

@ -0,0 +1,32 @@
Installer tracks avec mariadb et apache2
# Dépendances
apt-get install git ruby rubygems mariadb-client mariadb-server
gem update --system
gem install bundler
# Tracks
cd /opt
git clone --depth 1 https://github.com/TracksApp/tracks.git
cd tracks
# Mariadb
mysql -u root -p
Enter password:
MariaDB [(none)]> CREATE DATABASE tracks;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON tracks.* TO yourmysqluser@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
# Installation des dépendances ruby
Éditez le fichier GemFile à la racine de **tracks** et commenter la ligne sqlite3
#gem "sqlite3", group: :sqlite
puis lancer
bundle install --without development test