-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,145 +1,115 @@ | ||
python-facebook-chatbot | ||
####################### | ||
|
||
|Wercker| |license| | ||
|license| | ||
|
||
:Version: 0.2.0 | ||
:Web: https://github.com/luismayta/python-facebook-chatbot | ||
:Download: http://github.com/luismayta/python-facebook-chatbot | ||
:Source: http://github.com/luismayta/python-facebook-chatbot | ||
:Keywords: python-facebook-chatbot | ||
:Web: https://github.com/luismayta/luca | ||
:Download: https://github.com/luismayta/luca | ||
:Source: https://github.com/luismayta/luca | ||
:Keywords: luca | ||
|
||
.. contents:: Table of Contents: | ||
:local: | ||
|
||
Python Facebook Chatbot | ||
|
||
Features | ||
******** | ||
Luca | ||
==== | ||
|
||
- Task | ||
License | ||
------- | ||
|
||
Requirements: | ||
************* | ||
The code in this repository is licensed under the AGPL 3.0 unless | ||
otherwise noted. | ||
|
||
List of applications: | ||
Please see ``LICENSE.rst`` for details. | ||
|
||
- `Python 3.6.1`_ | ||
- `Docker`_ | ||
- `Docker Compose`_ | ||
How To Contribute | ||
----------------- | ||
|
||
Quick Start | ||
*********** | ||
Contributions are very welcome. | ||
|
||
- Fork this repository | ||
Please read `How To Contribute <https://github.com/luismayta/luca/blob/master/CONTRIBUTING.rst>`_ for details. | ||
|
||
Usage | ||
===== | ||
PR description template should be automatically applied if you are sending PR from gitlab interface; otherwise you | ||
can find it it at `PULL_REQUEST_TEMPLATE.md <https://github.com/luismayta/luca/blob/master/.github/PULL_REQUEST_TEMPLATE.md>`_ | ||
|
||
Install dependences | ||
------------------- | ||
Issue report template should be automatically applied if you are sending it from gitlab UI as well; otherwise you | ||
can find it at `ISSUE_TEMPLATE.md <https://github.com/luismayta/luca/blob/master/.github/ISSUE_TEMPLATE.md>`_ | ||
|
||
.. code-block:: bash | ||
Reporting Security Issues | ||
------------------------- | ||
|
||
λ make setup | ||
Please do not report security issues in public. Please email [email protected]. | ||
|
||
Build images | ||
Requirements | ||
------------ | ||
|
||
.. code-block:: bash | ||
λ make docker.build | ||
Up services | ||
----------- | ||
This is a list of applications that need to be installed previously to | ||
enjoy all the goodies of this configuration: | ||
|
||
.. code-block:: bash | ||
- `Python 3.6.4`_ | ||
- `Docker`_ | ||
- `Docker Compose`_ | ||
|
||
λ make docker.up | ||
.. code:: bash | ||
Actions: | ||
******** | ||
$ make setup | ||
$ make docker.build service=app | ||
.. code-block:: bash | ||
λ make | ||
༼ つ ◕_◕ ༽つ Makefile for python-facebook-chatbot | ||
Usage: | ||
environment create environment with pyenv | ||
install install dependences python by env | ||
clean remove files of build | ||
setup install requirements | ||
hooks copy hooks for git | ||
Troubleshooting | ||
--------------- | ||
|
||
Docker: | ||
Wrong pre-commit with pyenv | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
docker.build build all services with docker-compose | ||
docker.cleanup Clean images docker unnecesary | ||
docker.down down services docker-compose | ||
docker.list list services of docker | ||
docker.ssh connect by ssh to container | ||
docker.stop stop services by env | ||
docker.status status container by env | ||
docker.verify_network verify network | ||
docker.up up services of docker-compose | ||
docker.run run {service} {env} | ||
docker.list list services of docker | ||
Execute the next: | ||
|
||
Docs: | ||
.. code:: bash | ||
docs.show Show restview README | ||
docs.make.html Make documentation html | ||
docs.make.pdf Make documentation pdf | ||
pyenv shell 3.6.4 | ||
Tests: | ||
test Run All tests with coverage | ||
test.lint Run all pre-commit | ||
test.syntax Run all syntax in code | ||
License | ||
******* | ||
======= | ||
|
||
MIT | ||
GNU | ||
|
||
Changelog | ||
********* | ||
--------- | ||
|
||
Please see `CHANGELOG`_ for more information what | ||
has changed recently. | ||
|
||
Contributing | ||
************ | ||
============ | ||
|
||
Please see `CONTRIBUTING`_ for details. | ||
|
||
|
||
Versioning | ||
---------- | ||
|
||
Releases are managed using gitlab release feature. We use [Semantic Versioning](http://semver.org) for all | ||
the releases. Every change made to the code base will be referred to in the release notes (except for | ||
cleanups and refactorings). | ||
|
||
Credits | ||
******* | ||
------- | ||
|
||
- `author`_ | ||
- `contributors`_ | ||
- `CONTRIBUTORS`_ | ||
|
||
Made with :heart: ️:coffee:️ and :pizza: by `author`_ and `company`_. | ||
Made with :heart: :coffee: and :pizza: by `company`_. | ||
|
||
.. |Wercker| image:: | ||
https://app.wercker.com/status/642f4288274e91f723ec2ecf7c03966c/s/ 'wercker status' | ||
:target: https://app.wercker.com/project/byKey/642f4288274e91f723ec2ecf7c03966c | ||
:alt: wercker status | ||
.. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square | ||
:target: LICENSE | ||
:alt: License | ||
|
||
.. Links | ||
.. _`changelog`: CHANGELOG.rst | ||
.. _`contributors`: AUTHORS | ||
.. _`contributing`: CONTRIBUTING.rst | ||
|
||
.. _`CHANGELOG`: CHANGELOG.rst | ||
.. _`CONTRIBUTORS`: AUTHORS.rst | ||
.. _`CONTRIBUTING`: CONTRIBUTING.rst | ||
|
||
.. _`company`: https://github.com/labpositivatd | ||
.. _`author`: https://github.com/luismayta | ||
|
||
.. _`company`: https://github.com/luismayta | ||
.. dependences | ||
.. _Python 3.6.1: https://www.python.org/downloads/release/python-361 | ||
.. _Docker: https://www.docker.com/ | ||
.. _Docker Compose: https://docs.docker.com/compose/ | ||
.. _`Python 3.6.4`: https://www.python.org/downloads/release/python-364 | ||
.. _`Docker`: https://www.docker.com/ | ||
.. _`Docker Compose`: https://docs.docker.com/compose/ |