Skip to content

Latest commit

 

History

863 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBeebies Parenting text messaging service

Sends weekly texts with links to content from BBC's CBeebies Parenting to parents.

Users can sign up, and then only interact with the service via text.
Admins maintain content via the admin dashboard.

Getting started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Docker

Local setup

  1. Clone the repo

  2. Navigate to the root directory of the project.

  3. Install Ruby dependencies and start the local development server.

./do build
./do up
  1. Run the database migrations and seed the database
./do console
rails db:schema:load

The local development server will now be accessible at http://localhost:3000.
Blazer dashboard can be found at http://localhost:3000/blazer.

To view the admin dashboard, create an admin user in the database. Login is done via magic Link.

Most features should work locally though for some you may need to add the appropriate credentials - see the .env.template for an example. You may need to set up accounts for the relevant services - or contact a maintainer for the keys.

You can run Claude in a docker container with ./do claude

Running tests

  • docker compose exec rails rails test to run unit tests.
  • docker compose exec rails rails test:system to run system/end-to-end tests.

Shipping changes

See the pull request guide for how we open, review and merge pull requests - when to open a draft PR, how to write a description for your reviewer, and how we use ship/show/ask to decide whether a change needs a review.

Deployment

We use Heroku to host and deploy this app.

Job scheduling

The tasks to send messages to parents are set in recurring.yml. To see a list of all jobs queued/running/scheduled, go to /jobs.

Sending texts

Users pre June 2026 launch receive texts via Twilio. Users post June 2026 receive texts via AWS End User Messaging and Simple Notification Service updates the delivery status and sends user responses.

AWS SES to send login links to administrators.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages