main
Last change
on this file since 87614a5 was 87614a5, checked in by anastasovv <simon@…>, 2 years ago |
Blackjack prototype
|
-
Property mode
set to
100644
|
File size:
776 bytes
|
Line | |
---|
1 | # Caessino
|
---|
2 |
|
---|
3 | Firstly, create a .env file in the project's root directory and populate it like so:
|
---|
4 |
|
---|
5 | HOME_URL="http://localhost:3000"
|
---|
6 |
|
---|
7 |
|
---|
8 | Now, in your console, navigate to the project's root directory and run:
|
---|
9 |
|
---|
10 | docker-compose up
|
---|
11 |
|
---|
12 |
|
---|
13 | ======== If you are configuring this project for the first time, do the following =========
|
---|
14 |
|
---|
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)
|
---|
17 |
|
---|
18 | Open another console and run:
|
---|
19 |
|
---|
20 | docker exec -it name_of_db_container /bin/bash
|
---|
21 | psql -U postgres postgres < /usr/local/app/caessino.sql
|
---|
22 |
|
---|
23 | ==========================================================================================
|
---|
24 |
|
---|
25 | Now you are all set up.
|
---|
26 |
|
---|
27 | Enjoy your stay at Caessino. |
---|
Note:
See
TracBrowser
for help on using the repository browser.