2017-08-07 22:35:57 +02:00
|
|
|
uhh frick i forgot to write a readme hang on uhh
|
|
|
|
|
|
|
|
# forget
|
|
|
|
|
2017-08-29 18:46:57 +02:00
|
|
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1780ac6071c04cbd9ccf75de0891e798)](https://www.codacy.com/app/codl/forget?utm_source=github.com&utm_medium=referral&utm_content=codl/forget&utm_campaign=badger)
|
|
|
|
|
2017-08-07 22:35:57 +02:00
|
|
|
its a thing that deletes your posts
|
|
|
|
|
2017-08-29 16:11:58 +02:00
|
|
|
it works with twitter and mastodon and maybe sometime in the future it will work with other services
|
2017-08-07 22:35:57 +02:00
|
|
|
|
|
|
|
it lives at <https://forget.codl.fr>
|
|
|
|
|
2017-08-31 21:09:52 +02:00
|
|
|
you can run your own if you want to, youll need postgresql and redis and python 3.6+ and yarn (recommended) or npm
|
2017-08-10 17:26:36 +02:00
|
|
|
|
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
|
2017-08-31 21:09:52 +02:00
|
|
|
$ yarn || npm install
|
2017-08-07 22:35:57 +02:00
|
|
|
$ 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
|