Skip to content

Possibility of runnng the project without docker #7

@juanfrilla

Description

@juanfrilla

My suggestion is to run this project without docker and I got this project to work without docker, in order to do that:

  1. Install postgresql and create database, user, password and grant all privileges.
  2. Generate virtual environment with python -m venv venv
  3. Manually put in the terminal uvicorn app.main:app --host 127.0.0.1 --port 8888 --reload because If you run sh boot.sh development without docker, it fails. Note that the port is 8888 and the ip address of the host I've changed for 127.0.0.1, but 0.0.0.0 works as well.
  4. Generate the requirements.txt with all the dependencies.
  5. When you finally run this project, I have python 3.9 and I had to change pipe (|) by "or" in everywhere it is. (eg. User | None by User or None)

Finally, I would suggest you that put documentation up to date to run this project step by step with and without docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions