TESTING
git clone https://github.com/tinkerbox/pan.git
cd pan
bundle install
cp .env.sample .env
# Update the .env accordingly
rake db:setup
rails s -b 0.0.0.0
# Facebook oauth callback is set to http://0.0.0.0:3000/
Run these regularly
rake rspec
rubocop --auto-correct
rake slim_lint
1 - Every new feature or fix should be in a branch 2 - After creating a branch on SourceTree, and commiting fixes, you should push it to bitbucket. 3 - Open that branch on bitbucket, and if you are happy press Merge 4 - go back to master branch on your local machine, git pull the latest changes (the merged branch) 5 - git push heroku master, to deploy the master branch to heroku. 6 - You are done
Run on master branch rake production deploy
If it gives permission denied error try git push heroku master
master
is the active development branch
Local development branch naming:
feature/<branch_name>
for subtantial new feature or functionenhance/<branch_name>
for minor feature or function enhancementbugfix/<branch_name>
for bug fixes
After done with local development, push it:
git push -u origin <local_branch>
1 - Create a new migration that Adds Location to Institution model. 2 - create a list in csv, with uni name and location. 3 - Improve the seeds file with locations and institution names, so that uses.
- basecamp - PAN
- get permission to https://docs.google.com/spreadsheets/d/1mSu-ORsC1HjXqFxE39a4jmxdrFbAF6a4n09KhK0iD5E/edit#gid=0