source: README.md@ 4a1a3ca

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

Newlines in readme

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