From cc6f561cfe9f0ac6f2396c96363dfebbe2dc78eb Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 15 Dec 2023 15:51:48 +0000 Subject: [PATCH] Update docs: uploads owner and deleting datbases --- README.md | 3 +++ docs/getting_started.md | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 256ac155..1601632f 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docs/getting_started.md b/docs/getting_started.md index a3b7daaf..1f58059b 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -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 . +9. Make uploads writable: + + sudo chown $(whoami):5123 -R data/uploads + +10. View at . The admin username is `rubenwardy` and the password is `tuckfrump`. In the future, starting CDB is as simple as: