Anon Scriber is a web application where people can anonymously share posts of a memoir of themselves or of someone
Anon Scriber is still under heavy development. There can be breaking changes, but I am trying to keep them as minimum as possible.
-
Python 3.9
-
Other required packages in requirements.txt
- Clone this repository.
$ git clone --recursive https://github.com/TheNavyInfantry/Anon-Scriber.git
$ cd Anon-Scriber
- Install
virtualenv
:
$ pip install virtualenv
- Open a terminal in the project root directory and run:
$ virtualenv venv
- Then run the command:
$ source venv/bin/activate
- Then install the dependencies:
$ (venv) pip3 install -r requirements.txt
- Then setup the database:
$ (venv) python
>>> from anon_scriber import db
>>> db.create_all()
- Then setup the flask: (NOTE: export is used in Linux)
$ (venv) export FLASK_APP=app.py
$ (venv) export FLASK_DEBUG=True
- Finally start the web server:
$ (venv) flask run
- This server will start on port 5000 by default. You can change this in
app.py
by changing the following line to this:
if __name__ == "__main__":
app.run(debug=True, port=<desired port>)