- Timestamp:
- 06/11/22 23:50:19 (2 years ago)
- Branches:
- main
- Children:
- 4a1a3ca
- Parents:
- 87614a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.md
r87614a5 r64dc53b 4 4 5 5 HOME_URL="http://localhost:3000" 6 POSTGRES_HOST="db" 7 POSTGRES_USER="postgres" 8 POSTGRES_PASSWORD="postgres" 9 POSTGRES_DB="postgres" 6 10 7 11 … … 11 15 12 16 13 ======== If you are configuring this project for the first time, do the following =========17 ======== If you are configuring this project for the first time, do the following, in order to set up the database ========= 14 18 15 We will now set up a dummy database, in order for the project to work.16 19 Note: The containers should be running in the background! (previously started with docker-compose up) 17 20 … … 19 22 20 23 docker exec -it name_of_db_container /bin/bash 21 psql -U postgres postgres < /usr/local/app/caessino.sql 24 psql -U postgres postgres `<` /usr/local/app/dummy_database.sql 25 26 (When inserting `<`, it should not be surrounded by quotation marks) 22 27 23 28 ==========================================================================================
Note:
See TracChangeset
for help on using the changeset viewer.