Skip to content

Commit

Permalink
Update setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tygern committed Feb 14, 2024
1 parent 3c3d491 commit 7e8ae04
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@ This approach allows for the simplicity of server side rendered app with the dyn
```shell
brew install pyenv nodejs postgresql@14
pyenv install 3.11
# Add pyenv to the path
pyenv init
# Manually configure pyenv to load automatically
pyenv shell 3.11
curl -sSL https://install.python-poetry.org | python3 -
# Add poetry to the path
# Manually add poetry to the path
poetry env use 3.11
poetry install
npm install --prefix web-components
```

1. Set up the environment
```shell
cp .env.example .env
vi .env
source .env
```

1. Set up the database
```shell
psql postgres < databases/drop_and_create_databases.sql
Expand All @@ -40,8 +47,6 @@ This approach allows for the simplicity of server side rendered app with the dyn

1. Run the app in a separate terminal
```shell
cp .env.example .env
vi .env
source .env
poetry run python -m negotiator
```
Expand Down

0 comments on commit 7e8ae04

Please sign in to comment.