Some checks failed
Deploy to discoursio-api / deploy (push) Failing after 1m22s
This reverts commit
|
||
---|---|---|
.gitea/workflows | ||
.github/workflows | ||
alembic | ||
auth | ||
base | ||
migration | ||
orm | ||
resolvers | ||
services | ||
test | ||
validations | ||
.editorconfig | ||
.gitignore | ||
.pre-commit-config.yaml | ||
alembic.ini | ||
CHECKS | ||
checks.sh | ||
Dockerfile | ||
generate_gql_types.sh | ||
main.py | ||
migrate.sh | ||
nginx.conf.sigil | ||
poetry.lock | ||
README.md | ||
requirements-dev.txt | ||
requirements.txt | ||
resetdb.sh | ||
robo_migrate_a2.sh | ||
schema.graphql | ||
server.py | ||
settings.py | ||
setup.cfg |
discoursio-api
- sqlalchemy
- redis
- ariadne
- starlette
- uvicorn
on osx
brew install redis nginx postgres
brew services start redis
on debian/ubuntu
apt install redis nginx
Local development
Install deps first
pip install -r requirements.txt
pip install -r requirements-dev.txt
pre-commit install
Create database from backup
./restdb.sh
Start local server
python3 server.py dev
How to do an authorized request
Put the header 'Authorization' with token from signIn query or registerUser mutation.
How to debug Ackee
Set ACKEE_TOKEN var