-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from astronomy-commons/issue/254/landing-page
Polish landing page
- Loading branch information
Showing
4 changed files
with
53 additions
and
49 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Contribution Guide | ||
================== | ||
|
||
Dev Guide - Getting Started | ||
--------------------------- | ||
|
||
Before installing any dependencies or writing code, it's a great idea to create a | ||
virtual environment. LINCC-Frameworks engineers primarily use `conda` to manage virtual | ||
environments. If you have conda installed locally, you can run the following to | ||
create and activate a new environment. | ||
|
||
.. code-block:: console | ||
>> conda create -n <env_name> python=3.10 | ||
>> conda activate <env_name> | ||
Once you have created a new environment, you can install this project for local | ||
development using the following commands: | ||
|
||
.. code-block:: console | ||
>> pip install -e .'[dev]' | ||
>> pre-commit install | ||
>> conda install pandoc | ||
Notes: | ||
|
||
1) The single quotes around ``'[dev]'`` may not be required for your operating system. | ||
2) ``pre-commit install`` will initialize pre-commit for this local repository, so | ||
that a set of tests will be run prior to completing a local commit. For more | ||
information, see the Python Project Template documentation on | ||
`pre-commit <https://lincc-ppt.readthedocs.io/en/latest/practices/precommit.html>`_. | ||
3) Installing ``pandoc`` allows you to verify that automatic rendering of Jupyter notebooks | ||
into documentation for ReadTheDocs works as expected. For more information, see | ||
the Python Project Template documentation on | ||
`Sphinx and Python Notebooks <https://lincc-ppt.readthedocs.io/en/latest/practices/sphinx.html#python-notebooks>`_. |
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
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