Python web development refers to the process of creating web applications and websites using the Python programming language. Python is a versatile and popular programming language known for its simplicity, readability, and vast ecosystem of libraries and frameworks.
This repository is created to store a simple Python web project.
You can view a live demo of the project here.
- Simple and clean web design
- Easy to deploy on PythonAnywhere
- Uses Flask framework
- Python
- Flask
- HTML/CSS
To set up this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/Python-Simple-Website.git
- Navigate to the project directory:
cd Python-Simple-Website
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
- Install the required dependencies:
pip install -r requirements.txt
To run the project locally, follow these steps:
- Ensure the virtual environment is activated.
- Run the Flask application:
flask run
- Open your web browser and navigate to
http://127.0.0.1:5000
.
To host the project on Vercel, follow these steps:
- Install the Vercel CLI:
npm install -g vercel
- Login to Vercel:
vercel login
- Navigate to the project directory:
cd Python-Simple-Website
- Deploy the project:
vercel
- Follow the prompts to complete the deployment.
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.