Skip to content

Commit

Permalink
EYCDTK-233 Update Readme (#1404)
Browse files Browse the repository at this point in the history
  • Loading branch information
martikat authored Jan 13, 2025
1 parent 8cb49de commit 0877a84
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,37 @@
[![ci][ci-badge]][ci-workflow]
[![brakeman][brakeman-badge]][brakeman-workflow]
[![pa11y][pa11y-badge]][pa11y-workflow]
[![qa][qa-badge]][qa-workflow]

This is a Rails 7 application using the [DfE template][rails-template].
This is an application, written in Ruby on Rails (Version 7), based on the [DFE-Digital][rails-template] template. It uses a [Contentful](https://app.contentful.com/spaces/dvmeh832nmjc/) workspace for the content, managed by the content editors in the Early years child development training service.

Optionally create `.env` to override or set default variables like `DATABASE_URL`.
Optionally create `.env` to override or set default variables.

## Dependencies

Ruby version `3.3.x`
Node version `20.18.x`
PostgreSQL version `15.4`
Yarn version `4.0.x`

Suggest using [asdf][asdf] for local development.

## Getting Started

1. Clone the [repository][app-repo]
2. Install [git-secrets](#git-secrets)
3. Obtain the master keys
4. Start the server
4. Run `bundle install` to install the gem dependencies
5. Run `yarn` to install node dependencies
6. Copy the .env.example settings into the .env file
7. Run `bin/dev` to launch the app on http://localhost:3000

## Useful Links

- [Project Documentation][confluence]
- The Project Documentation is located within the EYFS Steady State team intranet 'site'
- [Production Environment][production]
- [Staging Environment][staging]
- [Prototype Repo][prototype-repo]
- [Prototype App][prototype-app]
- [Experts & Mentors Interim App][interim-prototype-app]
- [Flow Diagram][figma]

## Rails Credentials
Expand Down Expand Up @@ -82,21 +92,6 @@ Rails system specs use RackTest only for efficiency.

Running locally in the production rails environment requires generating a self-signed certificate. Use `bin/docker-certs`

**UI Framework**

> Gemfile group :ui
Use `bin/qa` to run the test framework under `/ui` against a given URL.
These tests have additional dependencies:

```sh
$ brew install chromedriver geckodriver
# on OSX Intel
$ xattr -d com.apple.quarantine /usr/local/bin/chromedriver
# on OSX ARM
$ xattr -d com.apple.quarantine /opt/homebrew/bin/chromedriver
```

## Using Docker

Containerised services are available for use by developers and testers.
Expand Down Expand Up @@ -325,6 +320,7 @@ File.open(file, 'w') { |file| file.write(data.to_yaml) }
[docker]: https://www.docker.com
[git-secrets]: https://github.com/awslabs/git-secrets
[sentry]: https://sentry.io/organizations/early-years-foundation-reform
[asdf]: https://asdf-vm.com

<!-- Deployments -->

Expand Down

0 comments on commit 0877a84

Please sign in to comment.