Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

enspiral/my.enspiral

Repository files navigation

Enspiral Website

The code for the Enspiral Website. Production Site and Staging Site

Starting App

Normal Rails way. Create database and run rails server.

Branches

Staging is volatile! Only merge changes in from other branches. At any time staging can be reset to what is in master if it gets too messy.

Code in master may not be on production but it is considered tested and ready for production.

The branching system we are using for the Enspiral Website is:

  • Use feature, bug or todo branches that are branched off of the master branch (ex. “feature/add_awesomeness”).
  • Merge your branch into staging for testing.
  • If test pass and QA is good rebase your branch from master, resolve any conflicts, then merge your branch into master.
  • If deploying merge master into the production branch

If you are making a very small change you feel is safe to test locally then you can make the change right on the master branch. Please, make sure it is only a very minor (view/stylesheet) change.

Xero Keys

If the certificate expires then generate a new one in config/xero with the following code and then upload the publickey.cer to developer.xero.com and generate the new keys

openssl genrsa -out privatekey.pem 1024
openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825
openssl pkcs12 -export -out public_privatekey.pfx -inkey privatekey.pem -in publickey.cer

This information is removed from this repo so that other developers can access this.

Please rebase, not merge, any branches created off of the old repository history which holds the information.

Servers

Both production and staging are using ruby 2.1.8

Bootsrap docs

The bootstrap is pretty legacy at this point. Here are the docs: http://getbootstrap.com/2.3.2/base-css.html

Current Dev

If you have any questions about the my.enspiral portion, you can email Charlie Ablett