Copycopter is a service for editing the copy text of a Rails application.
Each Rails application has its own Project, connected by an API key. Each piece of copy in a Project is a Blurb. Each Blurb has many Versions, which track changes users make to copy.
Each Version is either draft or published. The most typical scenario is to display published content in production, and draft in all other environments.
A developer can issue a deploy, which marks the latest Version of all Blurbs as published.
git clone git://github.com/copycopter/copycopter-server.git
cd copycopter-server
For MySQL support:
cp config/database.mysql.yml config/database.yml
For PostgreSQL support:
cp config/database.postgres.yml config/database.yml
For SQLite3 support:
cp config/database.sqlite.yml config/database.yml
Add your connection details to config/database.yml
.
In the Gemfile
remove the database connectors you don't need.
bundle install
bundle exec rake copycopter:project NAME=Iora USERNAME=Copy PASSWORD=Copter
or at Heroku
heroku run rake copycopter:project NAME=Iora USERNAME=Copy PASSWORD=Copter
bundle exec rake copycopter:change_project_password NAME=IORA OLD=Copter NEW=COPTAH
or at Heroku
heroku run rake copycopter:change_project_password NAME=IORA OLD=Copter NEW=COPTAH
bundle exec rake copycopter:remove_project NAME=Iora
or at Heroku
heroku run rake copycopter:remove_project NAME=Iora
Deploy Copycopter Server like any other Rails app.
with Capistrano
- Create your own deploy.rb:
cp config/deploy.example.rb config/deploy.rb
- Change
config/deploy.rb
to your own needs - Take care to include a
config/database.yml
into your deployment - Run the deploy setup:
cap deploy:setup
- Run initial deployment:
cap deploy
- Migrate the database:
cap deploy:migrate
to Heroku
- Create your own app:
heroku create --stack cedar
- Push the code to Heroku:
git push heroku master
- Migrate the database:
heroku run rake db:migrate
- Restart your app:
heroku restart
- See the style guide.
- Set up dependencies:
bundle
- Run the test suite:
bundle exec rake
- Make sure all tests are passed
Copycopter Server was created by thoughtbot, inc
It is maintained by the fine folks at Crowdtap and Iora Health.
Copycopter Server is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.