Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luigiminardi/dive_code_alura
Web API for image uploads made with python and django.
https://github.com/luigiminardi/dive_code_alura
alura api django django-rest-framework python python3 web-api
Last synced: 4 days ago
JSON representation
Web API for image uploads made with python and django.
- Host: GitHub
- URL: https://github.com/luigiminardi/dive_code_alura
- Owner: luigiMinardi
- License: mit
- Created: 2020-09-25T22:30:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-08T09:47:55.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T10:07:33.635Z (over 1 year ago)
- Topics: alura, api, django, django-rest-framework, python, python3, web-api
- Language: Python
- Homepage:
- Size: 637 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dive_code_alura
Web API for image uploads made with python and django.For start to use this API generate one Django Secret Key [here](https://djecrety.ir/) and paste in ``setup/settings.py`` in the ``SECRET_KEY = 'YourSecretKey'``
(and you will have something like ``SECRET_KEY = 'n-j8*!oe7!g&v_oi6b8-n_#si&-lyo=xhzb6sjtc8m8^7-qov@'``)3## For use this repository you need the Python 3.7 (CPython*) or further
[Download Python Here](https://www.python.org/downloads/)
### create your virtual ambient
``python -m venv ./venv``### activate your 'venv'
``source/venv/bin/activate`` (mac/linux)``virtualenv\NAMEOFYOURVIRTUALENV\Scripts\activate`` (windows)
### Update your pip
``pip install --upgrade pip``
### install the dependecies
``pip install -r requirements.txt``### Run the DataBase Migration
``python manage.py migrate``### Create a Super User
``python manage.py createsuperuser``### run server
``python manage.py runserver``_If you have any trouble, feel free to open an issue._
*_If you don't know what is CPython, just use the python from python.org_