CodeCollabCommunity / erp-dev-security-1

0 stars 0 forks source link

erp-dev-security

ERP security module

Installation

Environment Variables

Add and set .env with vars to use database:

Set Database credentials

Set for postgresql database docker image

Set postgresql database uri

Set bearer vars

Set docker image name

Building the Docker containers

Follow the next steps to build the python and db containers:

  1. Open a terminal.
  2. Navigate to the directory of the project.
  3. Run the following command:

    docker compose build --no-cache
    docker compose up -d 

    You can remove flag -d to show in terminal logs while container is running.

Now you can run the api on your localhost: http://localhost:55

Test