PendragonDevelopment / the-doctor

Generic consumer application for PendragonDevelopment/TARDIS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Doctor

================

Getting Started

Run vagrant up to initially provision the virtual machine (Vagrant version 1.5.0+ required)

Once the provisioning is complete, ssh into the VM: vagrant ssh

Change directory into /the-doctor and run sh bootstrap.sh. This part will take a while.

$ sudo su - postgres

$ createuser -P -s -e vagrant
Enter password for new role: password
Enter it again: password

$ exit

Edit pg_hba.conf to use md5 authentication:

$ cd /etc/postgresql/9.3/main
$ sudo nano pg_hba.conf

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     md5 <--- initially set to "peer"
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local   replication     postgres                                peer
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5


$ cd /vagrant
$ sudo service postgresql restart


git workflow

git remote add upstream git@github.com:PendragonDevelopment/the-doctor.git

Checkout your local master branch:

C/sites/the-doctor (master) $ git pull upstream master

git checkout my-feature-branch

git rebase master

git push origin my-feature-branch

Open a pull request on Github.

Deploy to Heroku

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.

Problems? Issues?

Need help? Ask on Stack Overflow with the tag 'railsapps.'

Your application contains diagnostics in the README file. Please provide a copy of the README file when reporting any issues.

If the application doesn't work as expected, please report an issue and include the diagnostics.

Ruby on Rails

This application requires:

  • Ruby 2.1.2
  • Rails 4.1.4

Learn more about Installing Rails.

Getting Started

Documentation and Support

Issues

Similar Projects

Contributing

Credits

License

About

Generic consumer application for PendragonDevelopment/TARDIS


Languages

Language:Ruby 77.0%Language:JavaScript 11.9%Language:HTML 9.7%Language:CSS 1.3%Language:Shell 0.2%