First web site with Python
Python 3
Version to Python: 3.11.4
Kali GNU/Linux 6.1.0-kali5-amd64
Fuan200
This is a Flask web site implementation, the repository contains the source code and files for a simple website implemented using the Flask web framework in Python.
-
Python 3 or higher
-
Virtualenv
-
There is a file called
requirements.txt
- Clone the repository:
git clone git@github.com:Fuan200/web_page_python_flask.git
- Create a virtual enviroment(recommended), you can change the second
venvby the name that you want:
python -m venv venv
- Activate the virtual env:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
. ./bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the Flask application:
flask --app index run
- Open a browser and navigate to
http://127.0.0.1:5000to view the website.