git clone
npm install && npm run dev
vagrant up
vagrant ssh
cd /srv/tgc
bundle exec rails db:migrate && bundle exec rails db:seed
./run-dev
npm install
docker-compose run web rake db:create
docker-compose run web rake db:migrate
docker-compose run web rake db:seed
docker-compose up
If you want to talk to the database via PSequel you'll need these steps
vagrant ssh-config
host: localhost
user: postgres
db: globe_development
ssh host: globe.local
ssh port: 22
ssh user: ubuntu
id file :
see vagrant ssh-config
You may need to access add this ssh connection to the known hosts via command line first (Ref: psequel/psequel#128)
ssh [email protected] -vNL 5432:localhost:5432 -p 22 -i /path/to/.vagrant/machines/project/virtualbox/private_key -o ExitOnForwardFailure=yes -o ConnectTimeout=30 -o TCPKeepAlive=no -o ServerAliveInterval=10
Generate with bash bin/resize path/to/image.jpg