Final Year Group project - Grp 10
-
Build the docker image:
docker build -t odas .
-
Run the container:
docker run -p 8000:8000 odas
-
View the application at:
- Ensure that python 3 is installed in the system
- In command prompt type:
pip install virtualenvwrapper
- Let’s create a new virtual environment named ‘test’ Run the following command:
mkvirtualenv test
- To activate the virtual environment, run the command:
workon test
- To leave the environment Run:
deactivate
- Download and Install python in the system (must be python 3 | preferably python version 3.9.6)
- Ensure python is properly installed by running the following command from command prompt.
python --version
- Download and install git in the system from the git official website
- Ensure that git is properly installed by running the following command
git --version
- Now inside any folder run the following command through command prompt / terminal:
git clone https://github.com/adaksritiman24/Online-Doctor-Appointment-System.git
This should clone the remote repository with necessary project files into the current folder
- Now, open the cloned repository and move into the ‘odas’ folder. Open command prompt / terminal here and run the following command:
pip install -r ../requirements.txt
This will install all the dependencies to run the project
- Now the project is ready to be run. Type the following command to runs the server in local machine.
python manage.py runserver
-
The server is now running. Open any browser and type the URL – http://localhost:8000 to open the website of Online doctor appointment System
-
Following are the two main URLs: A. http://localhost:8000 Index page for patients B. http://localhost:8000/doc Index page for doctors
-
To stop the server, type Ctrl+c in the command prompt / terminal.