Contributing
Local Development
- Open
freeCodeCampOS/self
as a new workspace in VSCode - Run
npm i
- Run
freeCodeCamp: Develop Course
in the command palette
Gitpod
- Open the project in Gitpod:
Opening a Pull Request
- Fork the repository
- Push your changes to your fork
- Open a pull request with the recommended style
Commit Message
<type>(<scope>): <description>
Pull Request Title
<type>(<scope>): <description>
Pull Request Body
Answer the following questions:
- What does this pull request do?
- How should this be manually tested?
- Any background context you want to provide?
- What are the relevant issues?
- Screenshots (if appropriate)
Types
fix
feat
refactor
chore
Scopes
Any top-level directory or config file. Changing a package should have a scope of dep
or deps
.
Documentation
This documention is built using mdBook. Read their documentation to install the latest version.
Also, the documentation uses mdbook-admonish
:
cargo install mdbook-admonish
Serve the Documentation
cd docs
mdbook serve
This will spin up a local server at http://localhost:3000
. Also, this has hot-reloading, so any changes you make will be reflected in the browser.
Build the Documentation
cd docs
mdbook build
CLI (create-freecodecamp-os-app
)
The CLI is written in Rust, and is located in the cli
directory.
Development
$ cd cli
cli$ cargo run
Flight Manual
Release
Releases are done manually through the GitHub Actions.
Making a Release
In the Actions
tab, select the Publish to npm
workflow. Then, select Run workflow
.