mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Page:
Debian 8 installation FR
Pages
1and1
Apache tips
Cloudmailin integration
Contributors
Debian 6.0 minimal setup
Debian 8 installation FR
Development tips and tricks
Discussing new gui for tracks 3
Faster user interface and better tablet experience
GTD on Tracks
Heroku
How to contribute
Install Tracks 2.0 on Ubuntu 11.04 minimal setup
Install Tracks 2.0 on Ubuntu 11.04 with lighttpd
Install Tracks 2.1 on Ubuntu 12.04
Install Tracks 2.3.0 on Ubuntu 14.04 LTS on AWS with SSL support
Install Tracks 2.5 on Ubuntu 20.10
Install Tracks 2.5.1 on Ubuntu 20.04 LTS on AWS with SSL support
Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64
Installing tracks from git on gentoo (ebuild)
Installing tracks on openshift and using mailgun to email todos to tracks
Keyboard shortcuts
MySQL tips
OpenShift
Staannoe's Docker image
Testing
Tips and tricks
Tools
Tracks hosting
Tracks on Heroku
Uberspace
Ubuntu bundler broken due to ruby thor dependency explanation and workaround
Update already installed Tracks on Ubuntu 21.04
Upgrade from 2.4.2 to 2.5.1 on AWS Ubuntu 18.04 LTS
Upgrading rails
log files locations
No results
3
Debian 8 installation FR
mmaura66 edited this page 2016-03-16 20:07:57 +01:00
Installer tracks avec mariadb et apache2
Dépendances
apt-get install git ruby rubygems ruby-dev mariadb-client mariadb-server libmariadb-client-lgpl-dev
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 dans le répertoire /opt/tracks lancer
bundle install --without development test
Configuration
Dans le sous répertoire config, copiez les fichier database.yml.tmpl et site.yml.tmpl to database.yml et site.yml.
Éditez ensuite database.yml remplissant les paramètres mysql.
et dans site.yml changez le salt et l'émail et la timezone:
time_zone: "Paris"
Peupler la base sql
bundle exec rake db:migrate RAILS_ENV=production
compiler les assets
bundle exec rake assets:precompile RAILS_ENV=production