https://github.com/mysterious-ben/intro-website
A simple website powered by Flask
https://github.com/mysterious-ben/intro-website
flask plotly python website
Last synced: 3 months ago
JSON representation
A simple website powered by Flask
- Host: GitHub
- URL: https://github.com/mysterious-ben/intro-website
- Owner: mysterious-ben
- License: apache-2.0
- Created: 2020-06-23T06:39:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-03-22T12:01:43.000Z (4 months ago)
- Last Synced: 2026-03-23T03:33:53.377Z (3 months ago)
- Topics: flask, plotly, python, website
- Language: HTML
- Homepage: https://datascienceforhire.net/
- Size: 1.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# intro-website
A very simple website powered by Flask and Dash
## Installation
1. Clone the project
```shell script
git clone https://github.com/mysterious-ben/intro-website
cd intro-website
```
2. Check / update the public config `src/config.py`
3. Create the private config `src/__config.py`
**Development only**
4. Install packages (in an environment):
```shell script
pip -r requirements.txt
```
5. Initialize pre-commit:
```shell script
pre-commit install
```
## Start Server
- Option 1: Run in an environment: `make start`
- to downgrade priority below -10 (soft CPU limit): `nice -n 0 python -m src.app`
- to limit RAM to 500MB: `ulimit -v 500000 && python -m src.app`
- show logs: `make show-logs`
- Option 2: Run in a docker container: `make dc-start`
- show logs: `make dc-show-logs`
## Check Website Visit Stats
Go to the `flask_monitoringdashboard` subpage (credentials are required).