Another blog app that nobody will really care about. I made it to learn the basics of creating full-stack applications with Flask
Done in a Python3 Dev Environment.
Clone down the repo
In your terminal:
On Mac or Linux:
$ cd /path/to/another-stupid-blog
$ python3 -m venv venv
On Windows:
$ cd /path/to/another-stupid-blog
$ py -3 -m venv venv
On Mac or Linux:
$ . venv/bin/activate
On Windows:
$ venv\Scripts\activate
$ pip install Flask
On mac or Linux:
$ export FLASK_APP=flaskr
$ export FLASK_ENV=development
$ flask run
On Windows CMD:
$ set FLASK_APP=flaskr
$ set FLASK_ENV=development
$ flask run
On Windows Powershell:
$env:FLASK_APP = "flaskr"
$env:FLASK_ENV = "development"
$ flask run
Once running, you can access the application at http://127.0.0.1:5000
Go sign up and write stuff that no one will care about.
As of now you have to register a user and then it will take you to the login page where you enter in that username and password.