https://ioc.ieltsways.com/otp
https://api.ieltsways.com/otp
- Clone this repository
git https://github.com/nimadorostkar/IELTSWays
- Install dependencies
pip install -r requirements/requirements.txt
-
Make .env file (use either prod.env.template or dev.env.template to create .env file)
-
Run the following commands to get started (Development)
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
- also you can run tests manually(Development):
python manage.py test
-
Make sure you have Postgredb running (Production)
-
you can run them manually, after the containers spin up, like so:
docker-compose exec web python manage.py makemigrations
docker-compose exec web python manage.py migrate
- Build the image and spin up the two containers
docker-compose up -d --build
and you can use the postman collection added to this repository: IELTSWays.postman_collection.json
enjoy!