source:
README.md@
87614a5
Last change on this file since 87614a5 was 87614a5, checked in by , 2 years ago | |
---|---|
|
|
File size: 776 bytes |
Rev | Line | |
---|---|---|
[87614a5] | 1 | # Caessino |
[6568bde] | 2 | |
[87614a5] | 3 | Firstly, create a .env file in the project's root directory and populate it like so: |
[6568bde] | 4 | |
[87614a5] | 5 | HOME_URL="http://localhost:3000" |
[6568bde] | 6 | |
7 | ||
[87614a5] | 8 | Now, in your console, navigate to the project's root directory and run: |
[6568bde] | 9 | |
[87614a5] | 10 | docker-compose up |
[6568bde] | 11 | |
12 | ||
[87614a5] | 13 | ======== If you are configuring this project for the first time, do the following ========= |
[6568bde] | 14 | |
[87614a5] | 15 | We will now set up a dummy database, in order for the project to work. |
16 | Note: The containers should be running in the background! (previously started with docker-compose up) | |
[6568bde] | 17 | |
[87614a5] | 18 | Open another console and run: |
[6568bde] | 19 | |
[87614a5] | 20 | docker exec -it name_of_db_container /bin/bash |
21 | psql -U postgres postgres < /usr/local/app/caessino.sql | |
[6568bde] | 22 | |
[87614a5] | 23 | ========================================================================================== |
[6568bde] | 24 | |
[87614a5] | 25 | Now you are all set up. |
[6568bde] | 26 | |
[87614a5] | 27 | Enjoy your stay at Caessino. |
Note:
See TracBrowser
for help on using the repository browser.