Debtly Monolith is the base project used to build an minimal viable product. Postgresql is the main database, node and express are used for the api, and react with redux-saga for the UI.
The following is an explanation for getting debtly-monolith runing on your local machine. These instructions do not include any instructions for use with windows (these will be added at a later date).
- Open a terminal.
- Run the following command
git config --global user.email "[email protected]"
(replace with your own email that is used for gitlab). - Use cd to move to the directory within your OS where you'd like to save the repo (ex
cd Documents
). - If you have setup ssh capabilities on gitlab:
- Run the following command
git clone [email protected]:QuietOmen/debtly.git
.
- Run the following command
- If you haven't setup ssh and simply want to type in your password each time:
- Run the following command
git clone https://github.com/QuietOmen/debtly.git
.
- Run the following command
- Move into the newly cloned directory by running
cd debtly-monolith
.
- Run the following command
- Install docker ce.
- Install docker (Ubuntu)
- Install docker-compose.
- Install docker ce.
- Setup docker.
- Open a terminal.
- Type the following command:
sudo vim /etc/hosts
. - Add
127.0.0.1 docker postgres.dev
to the hosts file. - Press
esc
key and then type:wq
.
- Type the following command:
- Open a terminal.
- Inside a terminal.
- cd into the directory where you cloned the repo (ex
cd Documents/perc-monolith
) - Run
git pull
to make sure you have the latest. - Run
docker-compose -f docker-compose.yml -f docker-development.yml up -d --build
.
- cd into the directory where you cloned the repo (ex
- Go to
localhost:3000
with the browser of your choice (Chrome or Firefox recommended).