Python Flask application for used car sales website. The purpose of this website is to showcase a list of used vehicles available for sale. (Work In Progress- Incomplete Features)
- Python 3.8
- Git (optional)
- Requirements
If you haven't already, clone the repository to your local machine using Git:
git clone https://github.com/EShahverdian/Apolloautomotive.git
cd Apolloautomotive
Alternatively, you can download the ZIP file from GitHub and extract it.
python -m venv venv
On Windows:
.\venv\Scripts\activate
On macOS/Linux:
source venv/bin/activate
Install the required packages using pip and the requirements.txt file:
pip install -r requirements.txt
Launch PyCharm.
Select "Open" and navigate to the project directory.
Ensure that PyCharm uses the virtual environment you created:
Go to File > Settings (or PyCharm > Preferences on macOS).
Navigate to Project: Apolloautomotive > Python Interpreter.
Select the interpreter that points to your virtual environment (e.g., venv).
Running the Program From PyCharm
Open the project in PyCharm.
Locate the main script (main.py).
Right-click the script and select "Run 'main'".
From the Command Line
Ensure your virtual environment is activated, then run the main script:
python main.py