Skip to content

Commit 3ad0efa

Browse files
committed
Revert to base readme
1 parent a02f0c7 commit 3ad0efa

File tree

1 file changed

+1
-109
lines changed

1 file changed

+1
-109
lines changed

README.md

+1-109
Original file line numberDiff line numberDiff line change
@@ -12,114 +12,6 @@ This repo is the [GitHub Pages](https://pages.github.com/) website, built in Jek
1212

1313
Please read [Contributing to Black Python Devs](CONTRIBUTING.md)
1414

15-
Follow these steps and note these guidelines to begin contributing:
16-
17-
1. First step is to set up the local development environment.
18-
1. Bug fixes are always welcome. Start by reviewing the [list of bugs](https://github.com/BlackPythonDevs/blackpythondevs.github.io/issues).
19-
1. A good way to easily start contributing is to pick and work on a [good first issue](https://github.com/BlackPythonDevs/blackpythondevs.github.io/labels/good%20first%20issue). We try to make these issues as clear as possible and provide basic info on how the code should be changed, and if something is unclear feel free to ask for more information on the issue.
20-
21-
# How to Contribute
22-
23-
## Fork the repository
24-
25-
- To fork the repository so you have a copy of the codebase, you will click on the **"Fork"** button from the repository main page
26-
27-
![Fork button](/assets/images/fork_button_page.png)
28-
29-
- Clicking on the Fork button takes you to the **"Create New Fork"** page where you select the owner (your personal github account) and click on the Create fork button.
30-
31-
![Create new fork page](/assets/images/create_new_fork_page.png)
32-
33-
## Creating an issue
34-
35-
- Click on the issues tab in the repository.
36-
37-
![issues tab](/assets/images/issues_tab.png)
38-
39-
- Click on the green button with the label **"New issue"** and you should see the image below:
40-
41-
![New issue button](/assets/images/new_issue.png)
42-
43-
- Type in the issue title in the title textbox and type in a clear explanation of the issue in the textarea. You can add images, code snippets, etc to explain your issue.
44-
45-
- Once you are done, you can preview your issue by selecting the Preview tab. If you are satisfied with the issue presentation, you can click on the green "Submit new issue" button to create your issue.
46-
47-
- And that's it! If you cose to comment requesting the issue to be assigned to you, wait for a maintainer to do so. You should get an email notification of the issue being assigned to you or you can view the issue assignment in the issue page. It should look similar to this:
48-
49-
![issue assignment](/assets/images/issue_assignment.png)
50-
51-
## Working on an issue
52-
53-
- The easiest way to make changes and test them is by using [![GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/BlackPythonDevs/blackpythondevs.github.io)
54-
55-
- You can also access the Codespaces from the repository main page:
56-
57-
![Codespaces tab](/assets/images/codespaces_tab.png)
58-
59-
- The web version of VSCode should open in a new tab in your browser:
60-
61-
![Black Python Devs Codespace](/assets/images/BlackPythonDevs_codespace.png)
62-
63-
- Now that you have the code editor set up, you need to install the dependencies. To do this, you have to open the code editor's terminal and run the command `bundle install`.
64-
65-
- The easiest way to open the terminal is to click on the 3 horizontal lines (also known as hamburger) at the top left of the code editor > Terminal > New Terminal:
66-
67-
![Terminal starter](/assets/images/terminal_starter3.png)
68-
69-
- In the terminal run the command `bundle install`.
70-
71-
![Bundle install terminal](/assets/images/bundle_install_terminal.png)
72-
73-
- Afterwards, run the command `pip install -r requirements-dev.txt` to install the python dev dependencies.
74-
75-
![Pip install terminal](/assets/images/pip_install_terminal.png)
76-
77-
- Install the pre-commit hooks to automatically format the code before committing. Run the command `pre-commit install`:
78-
79-
![Pre-commit install terminal](/assets/images/pre-commit_install_terminal.png)
80-
81-
- After installing the dependencies, its time to run the application. We do this by running the command `bundle exec jekyll serve --detach` or run the default **Build Task** <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd>:
82-
83-
![Jekyll serve terminal](/assets/images/jekyll_serve_terminal.png)
84-
85-
- The server address shows `http://127.0.0.1:4000`. This is the address for any local computer so this server will be wrong since the application is running on a remote computer so we have to get the address of that computer. We can get the address by clicking on the Ports tab next to the Terminal:
86-
87-
![Codespace ports](/assets/images/codespace_ports2.png)
88-
89-
- <kbd>Ctrl</kbd> + Click on the Forwarded Address assigned to Port 4000. This will open the running application in a new tab:
90-
91-
![Running page](/assets/images/running_page.png)
92-
93-
### Testing Changes (create new tests as needed)
94-
95-
- To run the test suites for the codebase
96-
97-
- Ensure the site is running locally with `bundle exec jekyll serve --detach`. This will run the server in the background, and any content changes will immediately reflect on the site.
98-
99-
![Jekyll serve terminal](/assets/images/jekyll_server_start_terminal.png)
100-
101-
- If you need to restart the server, you can run `killall jekyll` to stop the server and then run `bundle exec jekyll serve --detach` to start the server again.
102-
103-
- Run all tests in the test-suite with the command `python3 -m pytest`:
104-
105-
![Pytest terminal](/assets/images/pytest_run_terminal.png)
106-
107-
### Pushing Changes
108-
109-
- Run `pre-commit run --all` to ensure your code is formatted and linted correctly before pushing your changes.
110-
111-
![Pre-commit run terminal](/assets/images/pre-commit_run_terminal.png)
112-
113-
- Run `git commit -m "<Your commit message>"` to commit your changes.
114-
115-
![Git commit terminal](/assets/images/git_commit_terminal.png)
116-
117-
- Finally run `git push origin <your-branch-name>` to push your changes to your fork.
118-
119-
![Git push terminal](/assets/images/git_push_terminal.png)
120-
121-
- Once you’ve committed and pushed all of your changes to GitHub, go to the page for your fork on GitHub, select your development branch, and click the pull request button. Please ensure that you compare your feature branch to the desired branch of the repo you are supposed to make a PR to. If you need to make any adjustments to your pull request, just push the updates to GitHub. Your pull request will automatically track the changes in your development branch and update it. 🥳
122-
12315
## To Develop
12416

12517
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/BlackPythonDevs/blackpythondevs.github.io)
@@ -262,4 +154,4 @@ You can deploy your project locally but the fastest way to contribute is to use
262154
</a>
263155
</td></tr>
264156
</table>
265-
<!-- readme: collaborators,contributors -end -->
157+
<!-- readme: collaborators,contributors -end -->

0 commit comments

Comments
 (0)