Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcruz1990/django-misclientes
A simple django app to manage clients
https://github.com/dcruz1990/django-misclientes
Last synced: about 2 months ago
JSON representation
A simple django app to manage clients
- Host: GitHub
- URL: https://github.com/dcruz1990/django-misclientes
- Owner: dcruz1990
- License: apache-2.0
- Created: 2019-08-21T18:41:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T22:35:28.000Z (about 1 year ago)
- Last Synced: 2024-07-31T20:45:22.133Z (5 months ago)
- Language: HTML
- Size: 6.94 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- cuban-opensource - django-misclientes
README
![MisClientes](https://i.ibb.co/CwrcqrW/Arco-Linux-2020-03-18-1584545696-screenshot-1366x768.jpg)
![MisClientes](https://i.ibb.co/3zHRXkv/Arco-Linux-2020-03-18-1584545727-screenshot-1366x768.jpg)
![MisClientes](https://i.ibb.co/mvDqNtD/Arco-Linux-2020-03-18-1584545739-screenshot-1366x768.jpg)# django-misclientes
A simple django app to manage clientsThanks to all [Django Cuba](https://t.me/DjangoCuba) Telegram Group!!!!!
* Luis Miguel Pozo Gonzalez
* @codeshard
* @Felix Pupo
* @Guillermo Roig## Create virtual environment and install requirements
### Clone this repository
````git
git clone https://github.com/dcruz1990/django-misclientes
````### Define virtualenv environment
```
virtualenv -p python .venv
```### Install requirements
```
pip install -r requirements
```### Install WeasyPrint
* Please follow [this official guide](https://weasyprint.readthedocs.io/en/latest/install.html).
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
- Docker
- docker-compose
- Docker image for python >= 3.6 (https://hub.docker.com/_/python)
- Docker image for nginx:alpine (https://hub.docker.com/_/nginx)### 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
* [email protected]
* [email protected][]: https://t.me/DjangoCuba