Skip to content

Commit 2360e0b

Browse files
Update README.md
1 parent 1255e91 commit 2360e0b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@ BETYdb provides an interface for contributing and accessing data, and is the inf
1717
To get started with BETY you can use the docker-compose.yml file included. This will start the database (postgresql with postgis version 9.5) as well as the BETY container. If this is the first time you start it you will need to initialize the database, this can be done using the following commands:
1818

1919
```
20-
docker-compose -p bety up -d postgres
20+
docker compose -p bety up -d postgres
2121
docker run --rm --network bety_bety pecan/db
2222
```
2323

2424
If you want to change the id of the database, you can use:
2525

2626
```
27-
docker-compose run -e LOCAL_SERVER=77 bety fix
27+
docker compose run -e LOCAL_SERVER=77 bety fix
2828
```
2929

3030
To add initial users you can use the following commands (this will add the guestuser as well as the carya demo user)
3131

3232
```
33-
docker-compose run bety user 'guestuser' 'guestuser' 'Guest User' 'betydb@gmail.com' 4 4
34-
docker-compose run bety user 'carya' 'illinois' 'Demo User' 'betydb@gmail.com' 1 1
33+
docker compose run bety user 'guestuser' 'guestuser' 'Guest User' 'betydb@gmail.com' 4 4
34+
docker compose run bety user 'carya' 'illinois' 'Demo User' 'betydb@gmail.com' 1 1
3535
```
3636

3737
Once bety finishes inializing the database, or to restart BETY, you can bring up the all the containers using:
3838

3939
```
40-
docker-compose -p bety up -d
40+
docker compose -p bety up -d
4141
```
4242

4343
To change the path BETY runs under you can change the path using the environment variable RAILS_RELATIVE_URL_ROOT, for example to just run bety you can use the following command. This will precompile any of the static assets and run BETY.

0 commit comments

Comments
 (0)