/IELTSWays

IELTSWays Back-end service

Primary LanguagePython

IELTSWays Back-end service

https://ioc.ieltsways.com/otp
https://api.ieltsways.com/otp

Online IELTS Mock tests platform.


example


How to run

  1. Clone this repository
git https://github.com/nimadorostkar/IELTSWays
  1. Install dependencies
pip install -r requirements/requirements.txt 
  1. Make .env file (use either prod.env.template or dev.env.template to create .env file)

  2. Run the following commands to get started (Development)

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
  1. also you can run tests manually(Development):
python manage.py test
  1. Make sure you have Postgredb running (Production)

  2. 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   
  1. 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!