First of all, clone the repo:
git clone https://github.com/bluebirrrrd/doctor-appointment.git
cd doctor-appointment
npm
andpython3
for dev mode (will be installed automatically if you runstart.sh
)
sudo ./start.sh
starts the script to install all dependencies and run the app
npm install
python3 -m virtualenv -p python3 .env
source ./.env/bin/activate
pip install -r dev.txt
pre-commit install
python manage.py migrate
python manage.py collectstatic
python manage.py runserver
To use app properly you need to create some doctors in admin panel. To access it, you need to create a superuser.
If you run start.sh
, you'll be asked for superuser credentials during setup. If you're running in dev mode,
just type python manage.py createsuperuser
and provide the data.
sudo kill `cat gunicorn.pid`