Skip to content

dcruz1990/django-misclientes

Repository files navigation

MisClientes MisClientes MisClientes

django-misclientes

A simple django app to manage clients

Thanks to all Django Cuba Telegram Group!!!!!

  • Luis Miguel Pozo Gonzalez
  • @codeshard
  • @Felix Pupo
  • @Guillermo Roig

Create virtual environment and install requirements

Clone this repository

git clone https://github.com/dcruz1990/django-misclientes

Define virtualenv environment

virtualenv -p python .venv

Install requirements

pip install -r requirements

Install WeasyPrint

If you are using Debian like distributions you need to install these packages:

sudo apt-get install build-essential python3-dev python3-pip python3-setuptools python3-wheel python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info

Run server in local environment

Run makemigrations

python manage.py makemigrations

Run migrations

python manage.py migrate

Compile .po to .mo

python manage.py compilemessages

Update assets

python manage.py collectstatic --noinput

Run server for development

python manage.py runserver

Visit you application

http://localhost:8000/

Run with Docker

Requirements

Build and run containers stack with docker-compose

docker-compose -f ./container/docker-compose up -d --build

If it's the first time, wait to compile your application Docker's image or wait that required Docker's images be downloaded to compile your application Docker's image

Visit you application

http://localhost/

Contact

[]: https://t.me/DjangoCuba

About

A simple django app to manage clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •