Created with Django in Python
📌 Project Founder
Optometrist Mehdi Aria
🎯 Goals
Open-source programming can help expand electronic aspects of optometry.
⏳ Project Status:
- [█████-----] In Progress
📬 Contact Me
- Telegram: @mehdiartl
- Instagram: @mehdiaria.ir
- Email: mehdiariatwt@gmail.com
Follow these steps to set up the project locally:
- Download Anaconda for your operating system from here.
- Follow the installation instructions.
In Anaconda Powershell Prompt write codes below and read and accept all questions.
conda create -n optometry python=3.11
conda activate optometry
every where you want to use server (in Anaconda Powershell Prompt not CMD) also after installation of server you should first use:
conda activate optometry
Download Git for Windows from here.
You can also download Git for Linux from here(if you have linux operation system).
In Windows run Git CMD or Command Prompt (cmd not anaconda powershell prompt), and in Linux (e.g., Ubuntu) use the terminal.
Open CMD or GITCMD in Windows and enter the commands below.
cd %USERPROFILE%\Desktop
git clone https://github.com/mehdiro20/Opt_Office_Management MyProject
or in anaconda powershell after (installing git).
cd desktop
git clone https://github.com/mehdiro20/Opt_Office_Management MyProject
From this step please use Anaconda Powershell Prompt (in windows).(it's better to use windscribe)
cd Desktop
cd MyProject
pip install -r requirements.txt
python manage.py migrate
python manage.py shell
then ...
from django.contrib.auth import get_user_model
User = get_user_model()
User.objects.get(username='mehdi').delete()
exit()
then again after exit in Anaconda Powershell Prompt :
python manage.py createsuperuser
python manage.py runserver