APhysics Web is a project to help learn APhysics 1. It (will) consist of calculators, simulators, and general documentation.
(The versions are what the project is tested on, lower versions may still work, older version too may not work)
- Python >= v3.7.0
- Pip (Update to most recent version)
- Clone the repository:
git clone https://github.com/quintindunn/APhysicsWeb.git APhysicsWeb
cd
into the repositorycd ./APhysicsWeb
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
call venv/Scripts/activate
- Install the requirements
pip install -r requirements.txt
- Run the server:
python3 app.py
- To run the server after closing your terminal you will have to reactivate the virtual environment*
- Clone the repository:
git clone https://github.com/quintindunn/APhysicsWeb.git APhysicsWeb
cd
into the repositorycd ./APhysicsWeb
- Run
setup.bat
- Clone the repository:
git clone https://github.com/quintindunn/APhysicsWeb.git APhysicsWeb
cd
into the repositorycd ./APhysicsWeb
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source ./venv/bin/activate
- Install the requirements
pip install -r ./requirements.txt
- Run the server:
python3 app.py
- To run the server after closing your terminal you will have to reactivate the virtual environment*
- Clone the repository:
git clone https://github.com/quintindunn/APhysicsWeb.git APhysicsWeb
cd
into the repositorycd ./APhysicsWeb
- Change
./setup.sh
to executable modechmod +x ./setup.sh
- Run
setup.sh
- Run
run.bat
- Change
./run.sh
to executable modechmod +x ./run.sh
- Run
./run.sh
- As the project is currently at the initial commits the conventions used aren't yet outlined, try to follow the syntax used. In the future this will be outlined. A general rule of thumb is to follow common conventions such as PEP-8. Before merging, the code will be checked with PyLint for a basic lint.