Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elsbury13/docker-rails


https://github.com/elsbury13/docker-rails

Last synced: about 10 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Ruby on Rails Base App & Docker

## Prepare environment, for dev version you can use the example environment:
`cp env-example .env`

## Start the server:
`docker compose up --build`

## Testing It Out
Head [here](http://localhost:8020)

## Update Gems
`docker compose run baseapp bundle install --gemfile /opt/app/Gemfile`

## Install Gem (rename GEM_NAME)
`gem install GEM_NAME`

### If initialisation of the database is needed, then run the following commands to initialise the database:
`docker­ compose run drkiq rake db:reset`
`docker­ compose run drkiq rake db:migrate`

### Once our database is initialized, run the following:
`docker compose up`