Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs/dev/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ allow you to start with development.
You need to have [docker](https://docs.docker.com/engine/install/) and [compose](https://docs.docker.com/compose/cli-command/) installed first.

```bash
# Start Mongo container in background
docker compose up -d mongo
# Import Pastvu database
docker compose exec mongo initdb
# Create config file
cp ./config/local.config.js.docker-example ./config/local.config.js
# Get the dump
wget https://archive.varlamov.me/pastvu/github/pastvu.gz
# Install node modules
docker compose run --rm --no-deps app npm install
docker compose run --rm app npm install
# Start the application
docker compose up
```
Expand Down
Loading