diff --git a/README.md b/README.md index 0bb4cb0..e5d6b82 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ # nyxask -qna software thingy \ No newline at end of file +qna software thingy + +## Setup + +1. Create the database: +```sql +CREATE DATABASE nyxask WITH ENCODING = 'UTF8'; +CREATE USER nyxask WITH ENCRYPTED PASSWORD 'nyxask'; +GRANT ALL PRIVILEGES ON DATABASE nyxask TO nyxask; +ALTER DATABASE nyxask OWNER TO nyxask; +\q +``` +2. Create the venv: +```shell +python -m venv ./.venv +``` + +3. Install requirements: +```shell +pip install -r requirements.txt +``` + +4. Run the app: +```shell +python app/app.py +``` \ No newline at end of file