source: README.md@ 87614a5

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