https://github.com/n4vrl0s3/Python-Simple-Website
Simple Website made with Python
https://github.com/n4vrl0s3/Python-Simple-Website
python python-script python-web python3
Last synced: 4 months ago
JSON representation
Simple Website made with Python
- Host: GitHub
- URL: https://github.com/n4vrl0s3/Python-Simple-Website
- Owner: guanshiyin28
- Created: 2024-12-13T22:39:41.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-13T22:56:33.000Z (about 1 year ago)
- Last Synced: 2024-12-13T23:25:47.713Z (about 1 year ago)
- Topics: python, python-script, python-web, python3
- Language: HTML
- Homepage: https://www.pythonanywhere.com/
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Simple Website
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.
## Purpose of This Repository
This repository is created to store a simple Python web project.
## Demo
You can view a live demo of the project [here](https://python-simple-website.guanshiyinnn.com/).
## Features
- Simple and clean web design
- Easy to deploy on PythonAnywhere
- Uses Flask framework
## Technologies Used
- Python
- Flask
- HTML/CSS
## Project Setup
To set up this project locally, follow these steps:
1. **Clone the repository:**
```bash
git clone https://github.com/yourusername/Python-Simple-Website.git
```
2. **Navigate to the project directory:**
```bash
cd Python-Simple-Website
```
3. **Create a virtual environment:**
```bash
python3 -m venv venv
```
4. **Activate the virtual environment:**
- On Windows:
```bash
venv\Scripts\activate
```
- On macOS/Linux:
```bash
source venv/bin/activate
```
5. **Install the required dependencies:**
```bash
pip install -r requirements.txt
```
## Steps to Run
To run the project locally, follow these steps:
1. **Ensure the virtual environment is activated.**
2. **Run the Flask application:**
```bash
flask run
```
3. **Open your web browser and navigate to `http://127.0.0.1:5000`.**
## Steps to Host on Vercel
To host the project on Vercel, follow these steps:
1. **Install the Vercel CLI:**
```bash
npm install -g vercel
```
2. **Login to Vercel:**
```bash
vercel login
```
3. **Navigate to the project directory:**
```bash
cd Python-Simple-Website
```
4. **Deploy the project:**
```bash
vercel
```
5. **Follow the prompts to complete the deployment.**
## License
This project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details.