Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jordic/guillo_twitt
A demo for a service that twits items on db tree.
https://github.com/jordic/guillo_twitt
Last synced: 2 days ago
JSON representation
A demo for a service that twits items on db tree.
- Host: GitHub
- URL: https://github.com/jordic/guillo_twitt
- Owner: jordic
- Created: 2018-03-30T19:08:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T19:08:41.000Z (over 6 years ago)
- Last Synced: 2024-11-06T02:56:53.093Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
guillo_twitt Docs
==================================This is a demo/experiment with guillotina to add an extension to allow
contenttype inherited/based on twittable to be twittable.For the prupose of the demo, there is the Twitter OAuth PIN auth implemented,
anyway on a serious CMS this has to be done with an UI and the diferent oauth
steps.To run de demo, you must install the addon, and boot the server
For booting guillotina with the addon, you must provide,
credentials for your twitter app created, as env variables:TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRETLater, you need to authenticate the app and get the secret tokens
using the command:g twitt_auth
After that you are ready to start twitting items, just pust a Twittable
content, and you will have a "tool" /db/content/twittable-item/@twitt
where you can POST to twit.Dependencies
------------Python >= 3.6
Installation
------------This example will use virtualenv::
virtualenv .
./bin/python setup.py developRunning
-------Most simple way to get running::
./bin/guillotina
Running Postgresql Server:
docker run --rm -e POSTGRES_DB=guillotina -e POSTGRES_USER=guillotina -p 127.0.0.1:5432:5432 --name postgres postgres:9.6