forked from fixin.me/fixin.me
37 lines
695 B
Markdown
37 lines
695 B
Markdown
# README
|
|
|
|
Quantified self
|
|
|
|
* Ruby version: 2.7
|
|
* System dependencies: none
|
|
|
|
|
|
## Configuration
|
|
|
|
cp -a config/application.rb.dist config/application.rb
|
|
|
|
Modify configuration settings below `SETUP` comment appropriately.
|
|
|
|
|
|
## Database
|
|
|
|
cp -a config/database.yml.dist config/database.yml
|
|
|
|
Update database configuration.
|
|
|
|
Create database user and grant privileges:
|
|
|
|
> mysql -p
|
|
mysql> create user fixinme@localhost identified by '<some password>';
|
|
mysql> grant all privileges on fixinme.* to fixinme@localhost;
|
|
mysql> flush privileges;
|
|
|
|
Run database creation task:
|
|
|
|
RAILS_ENV="production" bundle exec rake db:create
|
|
|
|
Run migrations ...
|
|
|
|
|
|
## How to run the test suite: ...
|