add database creation instructions

This commit is contained in:
mst 2025-03-01 03:14:31 +03:00
parent bf80b8795c
commit 307cc6bee0

View file

@ -28,6 +28,14 @@ Go into the cloned repository, create a virtual environment and activate it:
After that, install required packages: After that, install required packages:
```pip install -r requirements.txt``` ```pip install -r requirements.txt```
Then, create the database and the user for CatAsk:
``` sql
CREATE USER '<DB_USER>' WITH PASSWORD "<DB_PASS>";
```
``` sql
CREATE DATABASE "<DB_NAME>" OWNER '<DB_USER>';
```
### Shared hosting-specific ### Shared hosting-specific
If your shared hosting provider supports [WSGI](https://w.wiki/_vTN2), [FastCGI](https://w.wiki/9EeQ), or something similar, use it (technically any CGI protocol could work) If your shared hosting provider supports [WSGI](https://w.wiki/_vTN2), [FastCGI](https://w.wiki/9EeQ), or something similar, use it (technically any CGI protocol could work)