8000 GitHub - fcramos/sima
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fcramos/sima

Repository files navigation

Sistema Integrado de Monitaramento Agrícola

Stack

  • The apps are created with Django-admin version 5.0.2, with python version 3.10
  • The database is Postgis

Running Locally

  1. Get Docker running
    1. Install docker cli from (https://www.docker.com/)
    2. Inside project folder run docker-compose up

At this point the project should be running at (http://localhost:8000)

  1. Configure containers environment

    1. Run docker-compose up -d --build (this command will mount the container image)
    2. Run docker-compose exec web python manage.py migrate
    3. Run docker-compose exec web python manage.py createsuperuser --username=admin --email=admin@email.com.br
  2. Running application

    1. Run docker-compose up

Running tests

  1. First of all, put the container image up with docker-compose up -d

    1. Run tests with: docker-compose exec web python manage.py test (The flag -m is needed for fixture modularization)

Tips and tricks

To install locally dependencies run

poetry install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0