mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 13:53:42 -05:00
add database creation instructions
This commit is contained in:
parent
bf80b8795c
commit
307cc6bee0
1 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,14 @@ Go into the cloned repository, create a virtual environment and activate it:
|
|||
After that, install required packages:
|
||||
```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
|
||||
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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue