mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-02 19:27:29 +01:00
Update docs: uploads owner and deleting datbases
This commit is contained in:
parent
36c63b4657
commit
cc6f561cfe
@ -29,6 +29,9 @@ See [Developer Intro](docs/dev_intro.md) for an overview of the code organisatio
|
|||||||
|
|
||||||
# Create new migration
|
# Create new migration
|
||||||
./utils/create_migration.sh
|
./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.
|
1. `-o` creates just the admin, and static data like tags, and licenses.
|
||||||
2. `-t` will do `-o` and also create test packages. (Recommended)
|
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`.
|
The admin username is `rubenwardy` and the password is `tuckfrump`.
|
||||||
|
|
||||||
In the future, starting CDB is as simple as:
|
In the future, starting CDB is as simple as:
|
||||||
|
Loading…
Reference in New Issue
Block a user