|
|
## Production database
|
|
|
In production we use a MySQL database. Initializing the database can be done by running `bundle exec rake db:setup` on the server, which will also create an admin user account. See `/db/seeds/production/users.seeds.rb`.
|
|
|
In production we use a MySQL database. Initializing the database can be done by running `bundle exec rails db:setup` on the server, which will also create an admin user account. See `/db/seeds/production/users.seeds.rb`.
|
|
|
|
|
|
## Development database
|
|
|
For development we use an SQLite database. There are seeds defined to initialize the database with some users, courses, etc. Seeds can be found in `/db/seeds/development/*.rb`. Whenever new features are added, the seeds should be updated accordingly.
|
... | ... | |