An open API service indexing awesome lists of open source software.

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

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.