Use Docker Deployed API as it is more stable and will not run in 503 Temporary error in Heroku free dyno https://assigndjango.herokuapp.com/api/upload (Docker Deployed on Heroku)
https://developershome.herokuapp.com/api/upload (Normally Deployed on Heroku)
β‘οΈ Put Api URL using POST option.
β‘οΈ Use excelfile as parameter.
β‘οΈ Select File from dropdown.
β‘οΈ Click on Send button.
β‘οΈ Error Response will be shown as in image.
β‘οΈ You can use Orders-With Nulls.xlsx present in unit_test folder for your reference if you donβt have any.
β‘οΈ Correct data is saved in databse for future use.
β‘οΈ Can Implement functions to make use of data to its best.
β‘οΈ Admin URL for both platform
https://assigndjango.herokuapp.com/admin/
https://developershome.herokuapp.com/admin/
β‘οΈ Username : test
β‘οΈ Password : iamawesome
pip install -r requirements.txt
- Clone this repo to your local machine.
$ python manage.py runserver
Go to localhost:8000
$ docker build -t web:latest .
$ docker run -d --name django-docker -e "PORT=8765" -e "DEBUG=1" -p 8007:8765 web:latest
Go to localhost:8007
$ docker stop django-docker
$ docker rm django-docker
-
Option 1
- π΄ Fork this repo!
-
Option 2
- π― Clone this repo to your local machine.
- Build your code π¨π¨π¨
- π Create a new pull request.