| Language/Interpreter | Version |
| Ruby | 3.0.0 |
| Rails | 6.1.3 |
| Database | Version |
| Postgres | 13 |
git@github.com:vinicius-vph/task-list-with-rails.git
cd task-list-with-rails
bundle install
yarn install
- If you have docker in your pc and want create a new container with postgres image exclusive for this project, run this command
docker run --name teste-postgres -e POSTGRES_USER=test -e POSTGRES_PASSWORD=test -p 5432:5432 -d postgres
rails db:migrate
- configure the user and password for CRUD the application
# delete the file config/credentials.yml.enc
rm config/credentials.yml.enc
# run the command for create credentials e master key files using VS Code (if you use another editor change 'code' for he)
EDITOR="code --wait" bin/rails credentials:edit- in your editor create the fields below using your personal datas on
your_nameandyour_password
authenticate:
name: your_name
password: your_password- Save and close the file
config/credentials.yml.enc.
rails s
Open in your browser the address http://localhost:3000
For see in production https://vini-rails-task-list.herokuapp.com/