Versitile, beautiful, personalized just for you.
<e>Note is more than a note it's a personal diary.
Please sign-in with KMITL's Office 365 account to view our report : https://bit.ly/mypscpprojectreport
Python 3.11 is recommended to run our project. Anything older may or may not work, try at your own risk!
Start by cloning the repository
git clone https://github.com/Krit789/PSCP-Project.git
Enter project directory
cd PSCP-Project
Installation for Ubuntu 22.04 LTS with Python 3.11
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11
sudo apt-get install python3-dev
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin python3.11 2
Then select number that represent Python 3.11
It's strongly recommended that you work under python virtual environment
Make sure you have venv
installed.
Windows
pip install virtualenv
MacOS
pip3 install virtualenv
Linux
sudo apt-get install python3.11-venv
Creating virtual environment
Windows
python -m venv <virtual-environment-name>
macOS / Linux
python3 -m venv <virtual-environment-name>
Activating virtual environment
Windows Powershell
Set-ExecutionPolicy RemoteSigned
<virtual-environment-name>/Scripts/Activate.ps1
Windows Command Prompt
change directory into <virtual-environment-name>/Scripts/
activate.bat
macOS / Linux
source <virtual-environment-name>/bin/activate
Now you're set to begin the next step
pip install -r requirements.txt
*Accessible from all network interfaces
python main_dev.py
Powered by waitress
python main_prod.py
python3 main_dev.py
Powered by waitress
python3 main_prod.py
if you encounter an address already in use error, please turn off the Airplay Reciever by open
System Setting --> Airdrop & Handoff --> AirPlay Reciever.