这是indexloc提供的服务,不要输入任何密码
Skip to content

vasugamdha/dedo

Repository files navigation

DeDo for Secure Delivery (Work In Progress)

The Problem

The Solution

Installation (Docker)

  • Install Docker and run docker-compose up

  • Run migrations:

docker-compose exec web python3.9 manage.py makemigrations core
docker-compose exec web python3.9 manage.py migrate
  • Create Super User:
docker-compose exec web python3.9 manage.py createsuperuser

Installation (Local Set-up)

python3 -m pip install --user --upgrade pip
python3 -m pip --version
python3 -m pip install --user virtualenv
  • Install Prerequisites
brew install postgresql
brew install postgis
brew install gdal
brew install libgeoip
  • Create a virtual environment and install dependencies
python3 -m venv env
source env/bin/activate
python3 -m pip install -r requirements.txt
  • Start PostgreSQL Server
docker run --name=postgis -d -e POSTGRES_USER=<database-username> -e POSTGRES_PASS=<database-password> -e POSTGRES_DBNAME=<database-name> -p 5432:5432 kartoza/postgis:14-3.2
  • Run migrations:
python3 manage.py makemigrations
python3 manage.py migrate
  • Start Server
    • Create a new file .env at the root of the project with the contents of .env.example with the correct values.
    • Start Development Server: python3 manage.py runserver

About

Django Application for Secure Delivery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published