Skip to content

Daan4/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website

A personal website made using the Flask framework for Python

Using

1. Installation & Requirements

Clone the tool if you have git installed.

Git Installation Guide: Then run these command in the Command Prompt or Terminal.
git clone https://github.com/Daan4/website.git
cd website
pip install -r requirements.txt

OR

Download from the link: https://github.com/Daan4/website/archive/master.zip

Then, run these command in the Command Prompt or Terminal.

cd website/
pip install -r requirements.txt

2. Usage:

Setup postgresql database (utf8 encoding, match username, pass & db name with the config settings)

Setup website_config.py and config.py based on the given example config

i. Run the python file (db_create.py)

ii. Run the python file (run.py)

Or type the command in terminal/command prompt:

python db_create.py
python run.py