/serverctl

An utility for automating server operations and deployment pipelines

Primary LanguagePythonMIT LicenseMIT

serverctl

An utility for automating server operations and deployment pipelines

Local development

With docker

  1. Clone the repo
  2. Run cp .env.example .env
  3. Run docker-compose -f docker-compose.dev.yml up --build

With virtual environment

  1. Clone the repo
  2. Run cp .env.example .env
  3. Run virtualenv --clear venv
  4. Run source ./venv/bin/activate
  5. Run pip install -r requirements-dev.txt
  6. Run pre-commit install to install the git hooks for linting and testing
  7. Run uvicorn serverctl.main:app --reload to start the server

License

MIT License

Copyright (c) 2021 Delta Force