Skip to content

Commit db0eae1

Browse files
authored
update vi-docker-development-tutorial.md (fixes #3672) (#3678)
1 parent cb1771f commit db0eae1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/vi/vi-docker-development-tutorial.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,26 @@ Install dependecies and serve the app
159159
- **Note**: This step may take anywhere between 10 and 45 minutes. If the installation progress seems stuck, we recommend leaving it running in the background and checking back after 30 minutes to see if it has progressed. Once the installation is complete, it should display the total time taken. Please share how long it took for you in the `#vi-software` Discord channel.
160160
- `ng serve`, once it's done compiling, visit [localhost:3000](localhost:3000) to access the planet app.
161161
- if the default port `3000` is taken, specify another port, e.g. `ng serve --port 3001`
162+
163+
### Initial Setup Steps for New Admins
164+
165+
After your development server is running, follow these steps to set up your admin account:
166+
167+
#### 1. Configure CouchDB Credentials
168+
169+
Before creating new users, update your `planet-dev.yml` file:
170+
- Uncomment the `COUCHDB_USER` and `COUCHDB_PASS` environment variables in both `chatapi` and `db_init` services
171+
- Set the username & password to match the values you used with your admin account (if you used the default `planet`/ `planet`, keep those)
172+
- Restart your `planet_db_init` container with `docker restart <containerId>` or restart all the containers with the `docker compose -f planet-dev.yml up -d` command.
173+
174+
Example:
175+
```yaml
176+
environment:
177+
- COUCHDB_USER=planet
178+
- COUCHDB_PASS=planet
179+
```
180+
---
181+
162182
- Similarly to [Step 2.2 - Planet Configurations](vi-planet-configurations.md#Configure_Your_Planet_Community), you’ll need to configure a new planet community with a slightly modified name (e.g., `<YourUserName>dev`).
163183
- Take a screenshot of the new configuration page and post it in the `#vi-software` Discord channel.
164184

0 commit comments

Comments
 (0)