forget-cancellare-vecchi-toot/README.markdown

39 lines
1.1 KiB
Markdown
Raw Normal View History

2017-08-07 22:35:57 +02:00
uhh frick i forgot to write a readme hang on uhh
# forget
its a thing that deletes your posts
it works with twitter and maybe sometime in the future it will work with other services
it lives at <https://forget.codl.fr>
you can run your own if you want to, youll need postgresql and rabbitmq and python 3.6+
youll also need redis probably unless you wanna set the rate limiter to use the in-memory store, which doesnt work if
you have more than one web process
2017-08-07 22:35:57 +02:00
```
$ # set up virtualenv (recommended)
$ virtualenv venv
$ source venv/bin/activate
$ # install requirements and set up config file
$ pip install -r requirements.txt
$ cp config.example.py config.py
$ $EDITOR config.py
2017-08-08 15:40:28 +02:00
$ # set up database schema
$ createdb forget
$ env FLASK_APP=forget.py flask db upgrade
2017-08-07 22:35:57 +02:00
$ # start web server and background worker
$ honcho start
```
the web server will listen on `127.0.0.1:42157`, you'll probably want to proxy with nginx or apache or what have you
sorry this readme sucks i forgot to write one before release
send me a tweet [@codl](https://twitter.com/codl) if you're having trouble or, to tell me you like it