This app is an app for AC students to practice writing documentation and model specs.
- Get the codebase
https://github.com/gohdaniel15/ac_project_sample.git
2.Install gem dependencies
cd ac_project_sample
bundle install
- Setup Database
rake db:create db:migrate
- Start the application
# Start the web server
rails server
We use Rspec as our testing framework. So, during development, run these regularly.
# Run the specs
rspec
We follow the Github Flow when developing the application, and name our branches as follow:
master
is the active development branch
Local development branch naming:
feature/<your-branch-name>
for substantial new feature or functionenhance/<your-branch-name>
for minor feature or function enhancementbugfix/<your-branch-name>
for bug fixes
We deploy our application to heroku.. Automatic deployment has been setup for our production environment as documented here. To manually deploy to heroku with Git, you need to:
- Register a heroku account and request access to production app
- Install heroku toolbelt which is a CLI tool for creating and managing Heroku apps
- Setup heroku remote
# Setup heroku remote for production
git remote add heroku https://git.heroku.com/ac-project-sample.git