The official website of Baltimore Code and Coffee.
The main branch here is hosted directly as:
https://baltimorecodeandcoffee.com/
using GitHub pages
Thank you for your interest in contributing to the Baltimore Code and Coffee website! Below are instructions to help you get started with testing your changes locally, creating pull requests, and ensuring your contributions follow our guidelines.
To test your changes locally, you can serve any branch using the http-server
npm package. Follow these steps:
sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb
### Uncomment below line if you have not installed gdebi-core before
# sudo apt-get install gdebi-core
sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb
Fork the repository: At the top of this page, click "Fork", and make your own copy of this repository
Clone the repository:
GitHub Desktop:
File
-> Clone Repository
.https://github.com/YOUR_ACCOUNT/BaltimoreCode-Coffee.github.io.git
Clone
.or if you prefer the command line:
git clone https://github.com/YOUR_ACCOUNT/BaltimoreCode-Coffee.github.io.git
Open VSCode to the BaltimoreCode-Coffee.github.io folder
Open a Terminal in VSCode
Install http-server:
npm install -g http-server
Serve the project without caching:
http-server -c-1
or, if you would like to be able to view with your phone over the local network
sudo http-server -c-1 -a 0.0.0.0 -p 80
Access the site in your browser:
http://localhost:8080
. You should see the website as it would appear with your changes applied.Make Changes then refresh your browser page Once you've made and tested your changes, you can submit them for review by creating a pull request:
Commit your changes:
Summary
field.Commit to <branch-name>
.or via command line:
git add .
git commit -m "Description of your changes"
Push your branch to the remote repository:
Push origin
in the toolbar.or via command line:
git push origin <branch-name>
Create a pull request:
Branch
-> Create Pull Request
to open the GitHub page.or via GitHub web:
Write Clear Commit Messages: Your commit messages should clearly describe the changes made. This helps maintainers and other contributors understand your work.
Follow Coding Standards: Ensure your code adheres to the project's coding standards. Consistent style and formatting are crucial for maintaining a clean codebase.
Ask for Help: If you're unsure about any part of the process, feel free to ask for help by opening an issue or commenting on an existing one. The community is here to support you!
Review the Documentation: Before contributing, it’s a good idea to review the existing documentation to understand the project's structure and guidelines.