Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/todd-demone/blogflask
https://github.com/todd-demone/blogflask
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/todd-demone/blogflask
- Owner: todd-demone
- Created: 2024-10-23T18:20:15.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-10-24T23:01:45.000Z (25 days ago)
- Last Synced: 2024-10-26T14:16:39.097Z (23 days ago)
- Language: HTML
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Flask Blog
1. Install python3.10
```
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10
python3.10 --version
```2. Create and activate a venv virtual environment (using python 3.10)
```
cd ~
mkdir blogflask
cd blogflask
python3.10 -m venv venv
source venv/bin/activate
```3. Clone the repo
```
git clone [email protected]:todd-demone/blogflask.git
```4. Install the dependencies
```
pip install -r requirements.txt
```5. Copy sample.env to .env and make necessary changes (need an app password if using google for email)
```
cp sample.env .env
```6. Run the app
```
python app.py
```## Notes:
To install a library, e.g.:
```
pip install markdown
```
To add all installed libraries to a requirements.txt file:
```
pip freeze > requirements.txt
```