Skip to content

alphagov/transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transition

Rails app for managing the transition of websites to GOV.UK. Specifically, it's for adding and deleting sites, hostnames, and mappings for use with Bouncer.

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Relationship with Bouncer

Bouncer and Transition currently share a database. As a result, we aim to keep a few of their dependencies in sync (on the same version), namely:

  • rails (Transition) and activerecord (Bouncer)
  • optic14n

Running the tests

bundle exec rake

Running the worker

bundle exec sidekiq -C config/sidekiq.yml

Style guide

Available at /style, the guide documents how transition is using bootstrap, where the app has diverged from default styles and any custom styles needed to fill in the gaps.

Adding a new site

Follow the instructions in the GOV.UK Developer docs

Example application URLs

Glossary of terms

A glossary of the terms used can be found in this blog post.

Licence

MIT License