Changeset b4369c8 for README.md


Ignore:
Timestamp:
06/11/22 23:59:03 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
fe03f69
Parents:
0af535a
Message:

Newlines in readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r0af535a rb4369c8  
    33Firstly, create a .env file in the project's root directory and populate it like so:
    44
    5 HOME_URL="http://localhost:3000" 
    6 POSTGRES_HOST="db" 
    7 POSTGRES_USER="postgres" 
    8 POSTGRES_PASSWORD="postgres" 
    9 POSTGRES_DB="postgres" 
     5        HOME_URL="http://localhost:3000" 
     6        POSTGRES_HOST="db" 
     7        POSTGRES_USER="postgres" 
     8        POSTGRES_PASSWORD="postgres" 
     9        POSTGRES_DB="postgres" 
    1010
    1111
    1212Now, in your console, navigate to the project's root directory and run:
    1313
    14 docker-compose up
     14        docker-compose up
    1515
    1616
     
    1818If you are configuring this project for the first time, do the following, in order to set up the database.
    1919
    20 Note: The containers should be running in the background! (previously started with docker-compose up)
     20-- Note: The containers should be running in the background! (previously started with docker-compose up)
    2121
    2222Open another console and run:
    2323
    24 docker exec -it name_of_db_container /bin/bash 
    25 psql -U postgres postgres `<` /usr/local/app/dummy_database.sql 
     24        docker exec -it name_of_db_container /bin/bash 
     25        psql -U postgres postgres `<` /usr/local/app/dummy_database.sql 
    2626
    27 (When inserting `<`, it should not be surrounded by quotation marks)
    28 
     27-- Note: When inserting `<`, it should not be surrounded by quotation marks
    2928===========================================================================
    3029
Note: See TracChangeset for help on using the changeset viewer.