Skip to content

cbus-sea-lions-2015/c9-setup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Setup Script for Cloud9

Do the following after creating your workspace for the day, but before cloning challenges

  • Clone this repo
  • cd into it
  • run ruby setup.rb

This does the following:

  • Starts Postgres
  • Sets the ubuntu user's password for cloud9
  • exports DATABASE_URL for cloud9 to ~/.bashrc
  • exports TEST_DATABASE_URL for cloud9 to ~/.bashrc
  • exports APP_NAME for cloud9 to ~/.bashrc
  • sets up the alias 'bespo' for bundle exec shotgun -p $PORT -o $IP for cloud9 in ~/.bashrc
  • sources the file ~/.bashrc so that all ENV vars are immediately available in the terminal running the script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages