npm

cmo_allocation

1.43.1 • Public • Published

cmo-allocation

Built with Cookiecutter Django

Getting Started

These instructions will get you a copy of the project up and running.

Installing

A step by step series of examples that tell you how to get a development env running.

For local development, we use Docker Compose.

First install the prerequisite software:

  1. Install Docker and Docker Compose
  2. Install Python 3, pip, pyenv, and pre-commit

First time only

Create a virtual environment for this project:

pyenv virtualenv cmo-allocation
pyenv activate cmo-allocation

Install project dependencies:

make dep

Start Developing

Spin up the project:

make run

Run migrations (every time you update Django models):

make migrate

Testing

Everything you need for this project is under Makefile. Take a look at the commands by running make.

Also, for CI/CD we use Github Actions. Take a look at the workflows folder and the CI/CD flow.

Releasing

This project follows Semantic Versioning for releases. The flow for PRs and releasing guidelines can be found at Pull Request Workflow.

Deploying

Currently, we deploy our service into Heroku as follows

  1. For every PR, Heroku spins up a new environment
  2. After we merge to main branch, we deploy to our staging environment

For details about the Heroku environments for cmo-allocation take a look -> here

Dependents (0)

Package Sidebar

Install

npm i cmo_allocation

Weekly Downloads

7

Version

1.43.1

License

none

Unpacked Size

4.53 MB

Total Files

345

Last publish

Collaborators

  • apanagiotou