Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
LICENSE
Rakefile
config.ru
readme.md

readme.md

TeachReach

TeachReach was a final year project at University, which I intend to re-write and release. The purpose of which was to provide an API and educational resource tool. An Android application is planned to leverage the content created using TeachReach

Installation

Designed currently for Heroku

Development

Setup

Also make sure to add the following to .git/config

[merge "ours"]
  name = Keep own VERSION-FILE then update
  driver = ./version.sh

Installing commit hooks

ln -s ../../pre-commit.sh .git/hooks/pre-commit

Useful commands

Reset the database

rake dev:reset

Annotate models

bundle exec annotate position --before

Remember

Set .git/config up with heroku.account

[remote "heroku"]
  url = git@heroku.personal:repo.git
  fetch = +refs/heads/*:refs/remotes/heroku/*
[heroku]
  account = personal

Heroku

heroku config:set SITE_URL="http://yourheroku.herokuapp.com"