Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Latest commit

 

History

History
47 lines (32 loc) · 1.21 KB

readme.md

File metadata and controls

47 lines (32 loc) · 1.21 KB

The Globe Church

Build Status

Setup

  • git clone
  • npm install && npm run dev

With Vagrant…

  • vagrant up
  • vagrant ssh
  • cd /srv/tgc
  • bundle exec rails db:migrate && bundle exec rails db:seed
  • ./run-dev

With Docker…

  • 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

PSequel

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

Other bits…

Banner images

Generate with bash bin/resize path/to/image.jpg