forget-cancellare-vecchi-toot/README.markdown

42 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 redis and python 3.6+
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-11 15:11:13 +02:00
$ # build assets
$ doit
2017-08-07 22:35:57 +02:00
$ # start web server and background worker
$ honcho start
2017-08-12 01:54:19 +02:00
$ # if you are doing development then you can try the dev procfile
$ honcho -f Procfile.dev start
2017-08-07 22:35:57 +02:00
```
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