Skip to content

Commit

Permalink
Gh-358: Cover remote coding environments in dev docs (#375)
Browse files Browse the repository at this point in the history
* Initial commit with remote coding page added

* Added information for Codespaces and Gitpod

* Added link to remote coding environments page under Contributing

* Added notes on configuring git commit email

---------
Co-authored-by: GCHQDeveloper314 <94527357+GCHQDeveloper314@users.noreply.github.com>
  • Loading branch information
l46978 authored Aug 24, 2023
1 parent 63ce998 commit 443c437
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/dev/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ A recent Linux distribution is recommended, although it should be possible to bu

## Contributing

We welcome contributions to the project. See our [ways of working for more detail](ways-of-working.md). All contributors must sign the [GCHQ Contributor Licence Agreement](https://cla-assistant.io/gchq/Gaffer).
We welcome contributions to the project. See our [ways of working for more
detail](ways-of-working.md). All contributors must sign the [GCHQ Contributor
Licence Agreement](https://cla-assistant.io/gchq/Gaffer).

You can quickly and easily contribute towards Gaffer using a [remote coding
environment](remote-coding-environments.md) such as GitHub Codespaces or Gitpod.
32 changes: 32 additions & 0 deletions docs/dev/remote-coding-environments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Remote Coding Environments For Gaffer

Gaffer is now configured for remote coding environemnts such as GitHub
Codespaces and Gitpod. This addition allows for an easier and faster way to
contribute to Gaffer with no manual setup or need to download dependencies to a
local machine.

## GitHub Codespaces
To use GitHub Codespaces simply open the Gaffer repository, click the "Code"
button drop down, and then the option labeled "Create codespace on develop".

This will launch a Codespaces environment with all the configuration needed to
contribute to Gaffer. See the [GitHub documentation for more information on
Codespaces] (https://github.com/features/codespaces).

## Gitpod
To use Gitpod you can simply prefix any GitHub URL with **`gitpod.io/#`** and
follow the steps from there. You can also install the
[extension](https://www.gitpod.io/docs/configure/user-settings/browser-extension)
on your web browser. This adds a button to GitHub that does the prefixing for
you.

Our custom GitPod configuration removes your Git commit email so you
will need to [re-configure your Git commit
email](https://www.gitpod.io/docs/configure/authentication/github). You can also
[configure your Git commit email to be a private GitHub email or a custom email
too.](https://www.gitpod.io/docs/configure/authentication#how-to-use-a-private-github-email-or-custom-email-for-git-commits).
Once done your environment will be all set to contribute to the Gaffer
repository.

See the [Gitpod documentation for more
information.](https://www.gitpod.io/docs/introduction).
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ nav:
- 'Log4j in Gaffer': 'gaffer2.0/log4j.md'
- 'Developer Docs':
- 'Development': 'dev/development.md'
- 'Remote Coding Environments': 'dev/remote-coding-environments.md'
- 'Managing Dependencies': 'dev/managing-dependencies/managing-dependencies.md'
- 'Ways of Working': 'dev/ways-of-working.md'
- 'Sketches custom deserialisation': 'dev/rest-api-sketches.md'
Expand Down

0 comments on commit 443c437

Please sign in to comment.