diff --git a/Install-Tracks-on-Ubuntu-20.10.md b/Install-Tracks-on-Ubuntu-20.10.md index ae6bf1f..d506fca 100644 --- a/Install-Tracks-on-Ubuntu-20.10.md +++ b/Install-Tracks-on-Ubuntu-20.10.md @@ -135,15 +135,15 @@ >nano database.yml

Normally you edit only the "production" section

-

the words `marked` are the names you need to choose for the database, the user and password. This must match what you later use when manually creates the database.

+

the words in bold are the names you need to choose for the database, the user and password. This must match what you later use when manually creates the database.

production:
adapter: mysql2
- database: *tempe*
+ database: tempe
encoding : utf8
host: localhost
- username: *daniel*
- password: *DANIEL*
+ username: daniel
+ password: DANIEL

if you use sqlite

@@ -160,10 +160,11 @@ production:

Choose a new secret token and set the correct time zone

-secret_token: '*change-me*'
-time_zone: '*UTC*'
-admin_email : *my.email@domain.com*
+secret_token: 'change-me'
+time_zone: 'UTC'
+admin_email : my.email@domain.com
+

If you intend to use Tracks behind a web server or reverse proxy with https enabled, ensure to set force_ssl option to true.


@@ -173,10 +174,6 @@ admin_email : *my.email@domain.com*
>bundle exec rake time:zones:local

to see all available timezones on your machine

-

-
-

-

If you intend to use Tracks behind a web server or reverse proxy with https enabled, ensure to set force_ssl option to true.

Adjust owner and owner group for the downloaded files

All the files should be owned by the user ''www-data'' which is the user that runs Apache.

To set the owner and the owner group of all the files to www-data, at /var/www execute

@@ -195,19 +192,13 @@ admin_email : *my.email@domain.com*

The ''find'' and ''chmod'' commands will set permissions as ''700'' for all directories and files inside the ''script'' directory.

All other files will have permissions set to ''600''.

- - -

------------

Manually create the database

-

Tracks is tested on MySQL and SQLite, but PostgreSQL can also be used.

+

Tracks is tested on MySQL (MariaDB?) and SQLite, but PostgreSQL can also be used.

Of the three, SQLite requires the least configuration but is also the least performant and may make it difficult to operate in the future.

We recommend either MySQL or PostgreSQL.

Whatever your choice, the appropriate database software must be installed.

-

-
-

-

Create MySQL database and grant access to user

-

You need to create a database and database-user to use with Tracks, in this guide the name of the database is tempe, we create a user daniel with a password DANIEL with all priviliges to access the database +

Create MySQL database and grant access to user

+

You need to create a database and database-user to use with Tracks, in this guide the name of the database is tempe, we create a user daniel with a password DANIEL with all privileges to access the database

>mysql -u root -p