Skip to content

atomotic/fromthepage-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fromthepage-docker-compose

A Docker compose for building FromThePage and running a development server.

start

$ docker-compose up

run the migrations

$ export CONTAINER="fromthepage-docker-compose_fromthepage_1"

$ docker exec -it $CONTAINER sh -c "cd /home/fromthepage; bundle exec rake db:create"

$ docker exec -it $CONTAINER sh -c "cd /home/fromthepage; bundle exec rake db:migrate"

open

$ open  http://localhost:3000