Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.38 KB

CONTRIBUTING.md

File metadata and controls

40 lines (31 loc) · 2.38 KB

Pre-requisites:

Setup

  1. Install Git
  1. Clone this repository
  • Click on the "<>Code" green button found at the main GitHub page and copy the link under HTTPS. Then on your local computer, navigate to where you want this repository to be and run git clone https://github.com/ploomber/sql.git. This should all be run in your operating system's command line.
  1. Run the conda environment for this repository
  • Step 1: Install miniconda with conda install. Documentation on miniconda found here.
  • Step 2: Navigate to the home directory of this repository (/sql) on your local machine's terminal
  • Step 3: Run conda env create -f environment.yml in the terminal to create your environment with the default name "sql-course"
  • Step 4: Activate your environment by running conda activate sql-course. You can also run conda info --envs and check if the asterisk symbol is at the "sql-course" environment.

Review how to edit the content in this repository

To get familiar with additional dependencies and the format in this repository, follow this guide.

Contributing content to this repository

Once you have completed the pre-requisites, you can pick one topic of the topics listed in the README.

Note A place holder markdown (.md) file has already been created for each topic -> you can find them under the directory docs/.

  1. Fork this repository
  2. Clone your fork into your local computer
  3. Create a branch under your fork
  4. Make and save changes on the selected .md file on your local computer
  5. You can build the files locally via the command jupyter-book build course-material/ (run from the repository root directory)
  6. Take a look at the built webpage by navigating on your file browser under sql/course-material/_build/html
  7. Create a pull request (base ploomber/sql:main from <your_github_id>/sql:your-branch-name)
  8. Request to initialize the review process
  9. Ensure that you run
   pip install pkgmt --upgrade
   pkgmt format
   pkgmt lint

For more details, see here