Skip to content

Commit

Permalink
contribution guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ngr committed May 6, 2019
1 parent cad9d2c commit 2acc2d5
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 3 deletions.
50 changes: 50 additions & 0 deletions docs/contribution.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. _Contribution Guidelines:

=======================
Contribution Guidelines
=======================

Release cycle
-------------

- Master branch commits are automatically packaged and published to PyPI.

- Branches for staging versions follow the pattern: ``X_X_X``

- Make your pull requests to the staging branch with highest number

- Latest documentation is compiled from branch ``docme``.
It should be up to date with latest **staging** branch, not the master.
Make PRs with documentation change directly to ``docme``.


Code formatting
---------------

Follow the PEP8_ but both classes and functions are padded with 2 empty lines.

.. _PEP8: https://www.python.org/dev/peps/pep-0008/

Initialization
--------------

* Fork the repository: https://github.com/bimpression/sosw_

* Register Account in AWS: `SignUp`_

* Create DynamoDB Tables:
* You can find the Cloudformation template for the databases in `the example`_.
* If you are not familiar with CloudFormation, we highly recommend at least learning the basics from `the tutorial`_.

* Create Sandbox Lambda with Scheduler

* Play with it.

* Read the :ref:`Documentaion convention`


.. _the example: https://raw.githubusercontent.com/bimpression/sosw/docme/docs/yaml/sosw-shared-dynamodb.yaml
.. _the tutorial: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/GettingStarted.Walkthrough.html
.. _SignUp: https://portal.aws.amazon.com/billing/signup#/start


6 changes: 3 additions & 3 deletions docs/convention.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. _Documentation Convention:

=======================
Documentaion Convention
=======================
========================
Documentation Convention
========================


This document states the convention that we follow for writing Documentation and especially docstrings for
Expand Down
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Another deployment requirement is to create several `DynamoDB` tables:
:titlesonly:
:caption: Contents:

contribution

convention
components
managers
Expand Down

0 comments on commit 2acc2d5

Please sign in to comment.