Skip to content

Commit

Permalink
Merge pull request #50 from LocationMind/48-add-command-to-create-dat…
Browse files Browse the repository at this point in the history
…abase

Resolve issues #48 and #49
  • Loading branch information
MatRouillard authored Nov 7, 2024
2 parents def8c06 + a65a3bf commit a04fd19
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ Create a PostGIS database named `pgrouting`.
Then, to install the extensions and create the schemas according to the database model, run the [init.sql](./Data/init.sql) script in your database.
This is not a necessary step, as it should be run by the scripts as well, but it prevents errors to do it manually.

To do so, you can run these two commands:

```cmd
createdb -U postgres pgrouting
psql -U postgres -d pgrouting -f Data\init.sql
```

After each command, you should have to enter the password associated with the postgres user (usually `postgres`).

More information about the database can be found in the [Database section](./Documentation/user-doc.md#database) of the user documentation.

### Environment file
Expand Down Expand Up @@ -150,7 +159,7 @@ Once again, you can refer to the [user documentation](./Documentation/user-doc.m
Run this command to launch the application:

```
shiny run .\Python\GeoDataCompare\app.py
shiny run .\src\GeoDataCompare\app.py
```

You can then go to this link: http://127.0.0.1:8000
Expand Down

0 comments on commit a04fd19

Please sign in to comment.