Skip to content

Commit

Permalink
Improve dev env setup docs
Browse files Browse the repository at this point in the history
Clarify how to configure the database, and fix the database
initialisation command.
  • Loading branch information
threedaymonk authored and DevMagnataur committed Oct 25, 2024
1 parent 4f39fb9 commit 9c0bf9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/getting-started/development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ $ xattr -d com.apple.quarantine `which chromedriver`

You require the `.env.development.local` file for your development environment to run, please ask an existing member of the team for an up to date copy.

The database is configured via the `DATABASE_URL` environment variable. You can
set this to match your local environment in `.env.development.local` and
`.env.test.local`.

## Create a self signed SSL certificate

```
Expand All @@ -65,6 +69,6 @@ $ openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.

```
$ bundle install
$ bundle db:reset
$ bundle exec rails db:setup
$ bundle exec rails assets:precompile
```

0 comments on commit 9c0bf9d

Please sign in to comment.