Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove docs info about running independent dockerised postgres #6331

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 2 additions & 46 deletions docs/developers/development-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,53 +396,9 @@ instances, sign in in the browser and then either:

## Additional Info

### Creating a local PostGIS database with Docker
### Creating a local PostGIS database without Docker

If you're not able to connect to an existing tasking-manager DB, we
have a [Dockerfile]() that will allow you to run PostGIS locally as
follows.

### Build & Run the PostGIS dockerfile

1. From the root of the project:

`
docker build -t tasking-manager-db ./scripts/docker/postgis
`

2. The image should be downloaded and build locally. Once complete
you should see it listed, with

`
docker images
`

3. You can now run the image (this will run PostGIS in a docker
container, with port 5432 mapped to localhost):

`
docker run -d -p 5432:5432 tasking-manager-db
`

4. Confirm the image is running successfully:

`
docker ps
`

5. Finally you can set your env variable to point at your
containerised DB:

`
export TM_DB=postgresql://hottm:hottm@localhost/tasking-manager
`

6. Refer to the rest of the instructions in the README to setup the
DB and run the app.

## Creating a local PostGIS database without Docker

### Creating the PostGIS database
#### Creating the PostGIS database

It may be the case you would like to set up the database without using
Docker for one reason or another. This provides you with a set of
Expand Down