git clone ssh://git@github.com/westurner/djangotestapp
cd djangotestapp
make install test
make setupdev migrate serve
# username/password: admin/password
- Message model
- #hashtag and @usertag support: https://github.com/westurner/djangotestapp/blob/develop/djangotestapp/testapp/utils.py
Homepage: https://www.djangoproject.com/
- Third-party authentication
- OAuth2
- Curl + OAuth2
~/.ftcurlish.json
:
{
"curl_path": "curl",
"http_port": 62231,
"json_indent": 2,
"sites": {
"dt": {
"extra_headers": {},
"request_token_params": {},
"authorize_url": "http://localhost:8000/auth/token",
"base_url": "http://localhost:8000/",
"client_id": "4nDF3xY0z8kUdLGxj4hiSMIbRWo9WqTiidC9oTKM",
"client_secret": "ufywDcTi8dNit8gfVfk0zaxy2SUj0gY3i0NNx37X6ZzGQqp6NOUxGCWz5ACIoM9HUsxyxsLbsiPezE0VqpotoYwfSDcRPlfnamq3nT2q27JUZiSgRCLtdDAC1XbS0LDN",
"grant_type": "password",
"access_token_url": "/auth/token"
}
}
}
- Get
client_id
,client_secret
from: http://localhost:8000/admin/oauth2_provider/application/add/
Wikipedia: https://en.wikipedia.org/wiki/MySQL
Homepage: https://www.mysql.com/
Wikipedia: https://en.wikipedia.org/wiki/Memcached
Homepage: http://memcached.org/
Wikipedia: https://en.wikipedia.org/wiki/RabbitMQ
Homepage: https://www.rabbitmq.com/
- AMQP Message Queue
Homepage: http://www.celeryproject.org/
- Asynchronous task queue
- Worker message protocol
- rabbitmq
Wikipedia: https://en.wikipedia.org/wiki/Elasticsearch
Homepage: https://www.elastic.co/
- RESTful JSON search
- https://www.elastic.co/guide/en/elasticsearch/guide/current/fuzziness.html
Homepage: http://haystacksearch.org/
- django + [elasticsearch,]
- celery + django-haystack
- Realtime index synchronization
- django-rest-framework + django-haystack
- RESTful search API
Wikipedia: `<https://en.wikipedia.org/wiki/Docker_(software)>`__|
Homepage: https://www.docker.com/
Docs: https://docs.docker.com/
- Linux Containers
- CLI
- Declarative `Docker`_ config:
docker-compose.yml
- https://github.com/kelseyhightower/compose2kube
.
https://docs.docker.com/compose/environment-variables/#/the-env-file
https://docs.docker.com/compose/compose-file/#/variable-substitution
export _ETC="${VIRTUAL_ENV}/etc" export _VAR="${VIRTUAL_ENV}/var" export _LOG="${VIRTUAL_ENV}/var/log"