You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,27 +17,27 @@ BETYdb provides an interface for contributing and accessing data, and is the inf
17
17
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:
18
18
19
19
```
20
-
docker-compose -p bety up -d postgres
20
+
dockercompose -p bety up -d postgres
21
21
docker run --rm --network bety_bety pecan/db
22
22
```
23
23
24
24
If you want to change the id of the database, you can use:
25
25
26
26
```
27
-
docker-compose run -e LOCAL_SERVER=77 bety fix
27
+
dockercompose run -e LOCAL_SERVER=77 bety fix
28
28
```
29
29
30
30
To add initial users you can use the following commands (this will add the guestuser as well as the carya demo user)
31
31
32
32
```
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
+
dockercompose run bety user 'guestuser' 'guestuser' 'Guest User' 'betydb@gmail.com' 4 4
34
+
dockercompose run bety user 'carya' 'illinois' 'Demo User' 'betydb@gmail.com' 1 1
35
35
```
36
36
37
37
Once bety finishes inializing the database, or to restart BETY, you can bring up the all the containers using:
38
38
39
39
```
40
-
docker-compose -p bety up -d
40
+
dockercompose -p bety up -d
41
41
```
42
42
43
43
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