mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Update install doc to use db groups
This commit is contained in:
parent
ef33ce5bbc
commit
cfd677313d
1 changed files with 14 additions and 2 deletions
|
@ -50,8 +50,20 @@ You need to create a database and database-user to use with Tracks. For this, yo
|
|||
|
||||
Tracks is built upon a number of Ruby libraries (known as ‘gems’). The Bundler tool makes it easy to install all the gems that Tracks needs, and ensures that they are all the correct versions.
|
||||
|
||||
1. Edit the file `Gemfile` in the Tracks root directory. You may comment out any database drivers you will not be using. You may also comment out `therubyracer` if you are installing Tracks on Windows or Mac OS X, or if you have another JavaScript runtime such as Node.js installed.
|
||||
2. Run the command `bundle install --without development test` in the directory that you unzipped your Tracks download to.
|
||||
1. If you are installing Tracks on Windows or Mac OS X, or if you have another JavaScript runtime such as Node.js installed, edit the file `Gemfile` in the Tracks root directory, and comment out `therubyracer`.
|
||||
2. In the directory that you unzipped your Tracks download to, install all the appropriate gems by running:
|
||||
* If you are using SQLite:
|
||||
|
||||
```
|
||||
bundle install --without development test mysql
|
||||
```
|
||||
|
||||
* If you are using MySQL:
|
||||
|
||||
```
|
||||
bundle install --without development test sqlite
|
||||
```
|
||||
|
||||
3. Wait for Bundler to finish installing the necessary gems that Tracks needs. This can take some time depending on the speed of your internet connection and the speed of the system you’re installing Tracks on.
|
||||
|
||||
## Configure variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue