Skip to content

copycopter/copycopter-server

Repository files navigation

Copycopter

Build Status

ABANDONED

This software is no longer being maintained.

Description

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.

Setup

git clone git://github.com/copycopter/copycopter-server.git
cd copycopter-server

Deploy

Deploy Copycopter Server like any other Rails app. Heroku example:

heroku create --stack cedar
git push heroku master
heroku run rake db:migrate
heroku restart

Adding a Project

heroku run rake copycopter:project NAME=Iora USERNAME=Copy PASSWORD=Copter

Updating a Projects password

heroku run rake copycopter:change_project_password NAME=IORA OLD=Copter NEW=COPTAH

Removing a Project

To remove a project from Copycopter:

heroku run rake copycopter:remove_project NAME=Iora

Contribute

See the style guide.

Set up dependencies:

bundle

Run the test suite:

bundle exec rake

Run the server:

foreman start

Automatically regenerate CSS when you edit Sass files:

sass --watch public/stylesheets/sass:public/stylesheets \
  -r ./public/stylesheets/sass/bourbon/lib/bourbon.rb

Credits

thoughtbot

Copycopter Server was created by thoughtbot, inc

It is maintained by the fine folks at Crowdtap and Iora Health.

License

Copycopter Server is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.