mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Created Debian 8 installation FR (markdown)
parent
ef03b7142b
commit
e77092b3da
1 changed files with 32 additions and 0 deletions
32
Debian-8-installation-FR.md
Normal file
32
Debian-8-installation-FR.md
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue