Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mlh-fellowship/3.3.1.3-flask-blog

A little portfolio site, with some dynamic functionality and pixel styling!
https://github.com/mlh-fellowship/3.3.1.3-flask-blog

css flask html pixel-art python

Last synced: about 1 month ago
JSON representation

A little portfolio site, with some dynamic functionality and pixel styling!

Awesome Lists containing this project

README

        

# The Lair of the Gamer Fellowship

![Main page screenshot](https://media.discordapp.net/attachments/851608538710540319/853046071138582538/unknown.png?width=1307&height=630)
A small pixel styled portfolio website with a blog, written with Flask and SQLite!

## Installation

Make sure you have python3 and pip installed

Change line 131 of the __init__.py file to your own absolute path before running the app

Create virtual environment using virtualenv
```bash
$ python -m venv python3-virtualenv
```

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install all dependencies

```bash
pip install -r requirements.txt
```

## Usage

Use development .env file
```
URL=localhost:5000
FLASK_ENV=development
```
Start the Python virtual environment

Linux/MacOS:
```bash
$ source python3-virtualenv/bin/activate
```
Windows:
```
> python3-virtualenv\Scripts\activate.bat
```

Start flask development server
```bash
$ flask run
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Currently, the system design is as follows:

### Post Component
![Post component uml diagram](https://media.discordapp.net/attachments/851608538710540319/853089116485189642/unknown.png)

### Post Database
![Post database design](https://media.discordapp.net/attachments/851608538710540319/853089683310510160/unknown.png)

### Gallery Component
![Gallery component UML Diagram](https://media.discordapp.net/attachments/851608538710540319/853091712851640320/unknown.png)

### Gallery Database
![Gallery database design](https://media.discordapp.net/attachments/851608538710540319/853091970544435259/unknown.png)