source: README.md@ b4369c8

main
Last change on this file since b4369c8 was b4369c8, checked in by anastasovv <simon@…>, 2 years ago

Newlines in readme

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# Caessino
2
3Firstly, create a .env file in the project's root directory and populate it like so:
4
5 HOME_URL="http://localhost:3000"
6 POSTGRES_HOST="db"
7 POSTGRES_USER="postgres"
8 POSTGRES_PASSWORD="postgres"
9 POSTGRES_DB="postgres"
10
11
12Now, in your console, navigate to the project's root directory and run:
13
14 docker-compose up
15
16
17===========================================================================
18If you are configuring this project for the first time, do the following, in order to set up the database.
19
20-- Note: The containers should be running in the background! (previously started with docker-compose up)
21
22Open another console and run:
23
24 docker exec -it name_of_db_container /bin/bash
25 psql -U postgres postgres `<` /usr/local/app/dummy_database.sql
26
27-- Note: When inserting `<`, it should not be surrounded by quotation marks
28===========================================================================
29
30Now you are all set up.
31
32Enjoy your stay at Caessino.
Note: See TracBrowser for help on using the repository browser.