Skip to content

fdavidgithub/sensoriando_webservice

Repository files navigation

Sensoriando

Hub de Sensores web.sensoriando.com.br

Requirement Sensoriando Core

Install

  1. Create docker's images
docker-compose build
  1. Docker
docker-compose up -d
  1. Environment Create .env file
touch .env

Contexts .env file:

export POSTGRES_HOST=sensoriando_database
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=[your password]
export POSTGRES_DB=sensoriando
export POSTGRES_PORT=5432

export DJANGO_PORT=8000
export DJANGO_PARAMS=""
export DJANGO_DEBUG="True"
  1. Django Migrate
docker exec -it sensoriando_webservice python manage.py makemigrations
docker exec -it sensoriando_webservice python manage.py migrate
  1. Reload
docker-compose restart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published