|
| 1 | +ai-aside |
| 2 | +############################# |
| 3 | + |
| 4 | +.. note:: |
| 5 | + |
| 6 | + This README was auto-generated. Maintainer: please review its contents and |
| 7 | + update all relevant sections. Instructions to you are marked with |
| 8 | + "PLACEHOLDER" or "TODO". Update or remove those sections, and remove this |
| 9 | + note when you are done. |
| 10 | + |
| 11 | +|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge| |
| 12 | +|license-badge| |status-badge| |
| 13 | + |
| 14 | +Purpose |
| 15 | +******* |
| 16 | + |
| 17 | +temporary readme filler |
| 18 | + |
| 19 | +TODO: The ``README.rst`` file should start with a brief description of the repository and its purpose. |
| 20 | +It should be described in the context of other repositories under the ``openedx`` |
| 21 | +organization. It should make clear where this fits in to the overall Open edX |
| 22 | +codebase and should be oriented towards people who are new to the Open edX |
| 23 | +project. |
| 24 | + |
| 25 | +Getting Started |
| 26 | +*************** |
| 27 | + |
| 28 | +Developing |
| 29 | +========== |
| 30 | + |
| 31 | +One Time Setup |
| 32 | +-------------- |
| 33 | +.. code-block:: |
| 34 | +
|
| 35 | + # Clone the repository |
| 36 | + git clone [email protected]:openedx/ai-aside.git |
| 37 | + cd ai-aside |
| 38 | +
|
| 39 | + # Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it |
| 40 | + mkvirtualenv -p python3.8 ai-aside |
| 41 | +
|
| 42 | +
|
| 43 | +Every time you develop something in this repo |
| 44 | +--------------------------------------------- |
| 45 | +.. code-block:: |
| 46 | +
|
| 47 | + # Activate the virtualenv |
| 48 | + workon ai-aside |
| 49 | +
|
| 50 | + # Grab the latest code |
| 51 | + git checkout main |
| 52 | + git pull |
| 53 | +
|
| 54 | + # Install/update the dev requirements |
| 55 | + make requirements |
| 56 | +
|
| 57 | + # Run the tests and quality checks (to verify the status before you make any changes) |
| 58 | + make validate |
| 59 | +
|
| 60 | + # Make a new branch for your changes |
| 61 | + git checkout -b <your_github_username>/<short_description> |
| 62 | +
|
| 63 | + # Using your favorite editor, edit the code to make your change. |
| 64 | + vim ... |
| 65 | +
|
| 66 | + # Run your new tests |
| 67 | + pytest ./path/to/new/tests |
| 68 | +
|
| 69 | + # Run all the tests and quality checks |
| 70 | + make validate |
| 71 | +
|
| 72 | + # Commit all your changes |
| 73 | + git commit ... |
| 74 | + git push |
| 75 | +
|
| 76 | + # Open a PR and ask for review. |
| 77 | +
|
| 78 | +Deploying |
| 79 | +========= |
| 80 | + |
| 81 | +TODO: How can a new user go about deploying this component? Is it just a few |
| 82 | +commands? Is there a larger how-to that should be linked here? |
| 83 | + |
| 84 | +PLACEHOLDER: For details on how to deploy this component, see the `deployment how-to`_ |
| 85 | + |
| 86 | +.. _deployment how-to: https://docs.openedx.org/projects/ai-aside/how-tos/how-to-deploy-this-component.html |
| 87 | + |
| 88 | +Getting Help |
| 89 | +************ |
| 90 | + |
| 91 | +Documentation |
| 92 | +============= |
| 93 | + |
| 94 | +PLACEHOLDER: Start by going through `the documentation`_. If you need more help see below. |
| 95 | + |
| 96 | +.. _the documentation: https://docs.openedx.org/projects/ai-aside |
| 97 | + |
| 98 | +(TODO: `Set up documentation <https://openedx.atlassian.net/wiki/spaces/DOC/pages/21627535/Publish+Documentation+on+Read+the+Docs>`_) |
| 99 | + |
| 100 | +More Help |
| 101 | +========= |
| 102 | + |
| 103 | +If you're having trouble, we have discussion forums at |
| 104 | +https://discuss.openedx.org where you can connect with others in the |
| 105 | +community. |
| 106 | + |
| 107 | +Our real-time conversations are on Slack. You can request a `Slack |
| 108 | +invitation`_, then join our `community Slack workspace`_. |
| 109 | + |
| 110 | +For anything non-trivial, the best path is to open an issue in this |
| 111 | +repository with as many details about the issue you are facing as you |
| 112 | +can provide. |
| 113 | + |
| 114 | +https://github.com/openedx/ai-aside/issues |
| 115 | + |
| 116 | +For more information about these options, see the `Getting Help`_ page. |
| 117 | + |
| 118 | +.. _Slack invitation: https://openedx.org/slack |
| 119 | +.. _community Slack workspace: https://openedx.slack.com/ |
| 120 | +.. _Getting Help: https://openedx.org/getting-help |
| 121 | + |
| 122 | +License |
| 123 | +******* |
| 124 | + |
| 125 | +The code in this repository is licensed under the AGPL 3.0 unless |
| 126 | +otherwise noted. |
| 127 | + |
| 128 | +Please see `LICENSE.txt <LICENSE.txt>`_ for details. |
| 129 | + |
| 130 | +Contributing |
| 131 | +************ |
| 132 | + |
| 133 | +Contributions are very welcome. |
| 134 | +Please read `How To Contribute <https://openedx.org/r/how-to-contribute>`_ for details. |
| 135 | + |
| 136 | +This project is currently accepting all types of contributions, bug fixes, |
| 137 | +security fixes, maintenance work, or new features. However, please make sure |
| 138 | +to have a discussion about your new feature idea with the maintainers prior to |
| 139 | +beginning development to maximize the chances of your change being accepted. |
| 140 | +You can start a conversation by creating a new issue on this repo summarizing |
| 141 | +your idea. |
| 142 | + |
| 143 | +The Open edX Code of Conduct |
| 144 | +**************************** |
| 145 | + |
| 146 | +All community members are expected to follow the `Open edX Code of Conduct`_. |
| 147 | + |
| 148 | +.. _Open edX Code of Conduct: https://openedx.org/code-of-conduct/ |
| 149 | + |
| 150 | +People |
| 151 | +****** |
| 152 | + |
| 153 | +The assigned maintainers for this component and other project details may be |
| 154 | +found in `Backstage`_. Backstage pulls this data from the ``catalog-info.yaml`` |
| 155 | +file in this repo. |
| 156 | + |
| 157 | +.. _Backstage: https://open-edx-backstage.herokuapp.com/catalog/default/component/ai-aside |
| 158 | + |
| 159 | +Reporting Security Issues |
| 160 | +************************* |
| 161 | + |
| 162 | +Please do not report security issues in public. Please email [email protected]. |
| 163 | + |
| 164 | +.. |pypi-badge| image:: https://img.shields.io/pypi/v/ai-aside.svg |
| 165 | + :target: https://pypi.python.org/pypi/ai-aside/ |
| 166 | + :alt: PyPI |
| 167 | + |
| 168 | +.. |ci-badge| image:: https://github.com/openedx/ai-aside/workflows/Python%20CI/badge.svg?branch=main |
| 169 | + :target: https://github.com/openedx/ai-aside/actions |
| 170 | + :alt: CI |
| 171 | + |
| 172 | +.. |codecov-badge| image:: https://codecov.io/github/openedx/ai-aside/coverage.svg?branch=main |
| 173 | + :target: https://codecov.io/github/openedx/ai-aside?branch=main |
| 174 | + :alt: Codecov |
| 175 | + |
| 176 | +.. |doc-badge| image:: https://readthedocs.org/projects/ai-aside/badge/?version=latest |
| 177 | + :target: https://docs.openedx.org/projects/ai-aside |
| 178 | + :alt: Documentation |
| 179 | + |
| 180 | +.. |pyversions-badge| image:: https://img.shields.io/pypi/pyversions/ai-aside.svg |
| 181 | + :target: https://pypi.python.org/pypi/ai-aside/ |
| 182 | + :alt: Supported Python versions |
| 183 | + |
| 184 | +.. |license-badge| image:: https://img.shields.io/github/license/openedx/ai-aside.svg |
| 185 | + :target: https://github.com/openedx/ai-aside/blob/main/LICENSE.txt |
| 186 | + :alt: License |
| 187 | + |
| 188 | +.. TODO: Choose one of the statuses below and remove the other status-badge lines. |
| 189 | +.. |status-badge| image:: https://img.shields.io/badge/Status-Experimental-yellow |
| 190 | +.. .. |status-badge| image:: https://img.shields.io/badge/Status-Maintained-brightgreen |
| 191 | +.. .. |status-badge| image:: https://img.shields.io/badge/Status-Deprecated-orange |
| 192 | +.. .. |status-badge| image:: https://img.shields.io/badge/Status-Unsupported-red |
0 commit comments