Update docs: uploads owner and deleting datbases

This commit is contained in:
rubenwardy 2023-12-15 15:51:48 +00:00
parent 36c63b4657
commit cc6f561cfe
2 changed files with 8 additions and 1 deletions

@ -29,6 +29,9 @@ See [Developer Intro](docs/dev_intro.md) for an overview of the code organisatio
# Create new migration
./utils/create_migration.sh
# Delete database
docker-compose down && sudo rm -rf data/db
```

@ -42,7 +42,11 @@ Docker is the recommended way to develop and deploy ContentDB.
1. `-o` creates just the admin, and static data like tags, and licenses.
2. `-t` will do `-o` and also create test packages. (Recommended)
9. View at <http://localhost:5123>.
9. Make uploads writable:
sudo chown $(whoami):5123 -R data/uploads
10. View at <http://localhost:5123>.
The admin username is `rubenwardy` and the password is `tuckfrump`.
In the future, starting CDB is as simple as: