Personal bookmark service.
This is because I didn't find a very good bookmark service suits my own need
there are 2 components in this repo.
- a Django restful web service
- a command line client
Somehow works. I don't really care about bugs or dirty code because I just need a small tool which is working
pip install -r requirements.txt
python manage.py makemigrations api
python manage.py migrate
I don't want to use other webservices to deploy this small application. so
- waitress is used to run the web server
- whitenoise is used to serve staticfiles
python manage.py collectstatic
python app.py
Now you can access http://localhost:8080 to browser the api
Check client doc
(booklets) [root@localhost booklets]# bk.py show gz
id url tag(s)
---- --------------------------------------------------------------- --------------
7 http://gzlss.hrssgz.gov.cn/gzlss_web/business/tomain/main.xhtml gz,life,shebao