This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
bundle exec rubocop
bundle exec rspec
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions Push/merge to main will run the deploy if the CI passes. GraphiQL can be found at https://freaks-catalog.herokuapp.com/graphiql GraphQL can be found at https://freaks-catalog.herokuapp.com/graphql
Continuously run tests & linting using:
bundle exec guard
#Database
docker run -p 5432:5432 --name freaks-pgsql -e POSTGRES_USER=freak -e POSTGRES_PASSWORD=password -e POSTGRES_DB=freakscatalog -d postgres:13.1-alpine
- The correct password must be entered in the password field
- This order only needs to be placed once
Otherwise it is enough to place the next order
docker start freaks-pgsql
$ cp .env.example .env
$ docker-compose up
Now you should be able to do requests on port http://localhost:3000