Skip to content

n4vrl0s3/Python-Simple-Website

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.



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:
    git clone https://github.com/yourusername/Python-Simple-Website.git
  2. Navigate to the project directory:
    cd Python-Simple-Website
  3. Create a virtual environment:
    python3 -m venv venv
  4. Activate the virtual environment:
    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  5. Install the required dependencies:
    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:
    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:
    npm install -g vercel
  2. Login to Vercel:
    vercel login
  3. Navigate to the project directory:
    cd Python-Simple-Website
  4. Deploy the project:
    vercel
  5. Follow the prompts to complete the deployment.


License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.