Skip to content
SavGRYPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Quick setup guide

Backend

Docker

  • ln -s devel.yaml docker-compose.ovedrride.yaml
  • ln -s commpon.yaml docker-compose.yaml

In the .docker/ folder rename all the *.example. In auth_opt.env:

  • Put the required algorithm (HS256 is the preferred)
  • Put the time for the access token to expire
  • Generate a new FastAPI secret key Here is the snippet
    • openssl rand -hex 32

In pg_conf.env:

  • Put the admin name
  • Put the admin passwd
  • Put the preferred db name
  • Compose the postresql connection string like the db-host-name should be the name of the docker service
    • postgresql://<name>:<passwd>@<db-host-name>/<db-name>

FastAPI

In the core folder of the FastAPI project find the alembic.ini.example and remove the .example. To find more check alembic guide


FrontEnd

For the frontend is advisable to install the node_modules locally even tho there's the docker container.


Finally

For the last bit of setup just run

  • docker compose pull <service-you-want-to-pull>
  • docker compose up -d <services>

Note

This project has renovate implementation

All rights reserved

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages