-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- resolve #76
- Loading branch information
gentele
committed
Oct 30, 2018
1 parent
cf1dde3
commit 17c23a5
Showing
4 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Contribution Guidelines | ||
Please read this guide if you plan to contribute to the DevSpace CLI. We welcome any kind of contribution. No matter if you are an experienced programmer or just starting, we are looking forward to your contribution. | ||
|
||
## Reporting Issues | ||
If you find a bug while working with the DevSpace CLI, please [open an issue on GitHub](https://github.com/covexo/devspace/issues/new?labels=kind%2Fbug&template=bug-report.md&title=Bug:) and let us know what went wrong. We will try to fix it as quickly as we can. | ||
|
||
## Feature Requests | ||
You are more than welcome to open issues in this project to [suggest new features](https://github.com/covexo/devspace/issues/new?labels=kind%2Ffeature&template=feature-request.md&title=Feature%20Request:). | ||
|
||
## Contributing Code | ||
This project is mainly written in Golang. To contribute code, | ||
1. Fork the project | ||
2. Clone the project: `git clone https://github.com/[YOUR_USERNAME]/devspace && cd devspace` | ||
3. Install the dependencies: `dep ensure -v` (requires [Installing Dep](https://golang.github.io/dep/docs/installation.html)) | ||
4. Make changes to the code (add new dependencies to the Gopkg.toml) | ||
5. Build the project, e.g. via `go build -o devspace.exe` | ||
6. Make changes | ||
7. Run tests: `go test ./...` | ||
8. Format your code: `go fmt ./...` | ||
9. Commit changes | ||
10. Push commits | ||
11. Open pull request | ||
|
||
## Improving the Documentation | ||
The documentation is contained within `./docs` and made with Docusaurus. See the [Docs README](./docs) for infos about developing the docs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# DevSpace CLI Documentation | ||
This documentation is created with Docusaurus. | ||
|
||
## Contributing | ||
To contribute code, | ||
1. Fork the project | ||
2. Clone the DevSpace CLI project: `git clone https://github.com/[YOUR_USERNAME]/devspace && cd devspace/docs/website` | ||
3. Start a DevSpace for the docs page: `devspace up` | ||
4. Wait for the DevSpace terminal to open and run: `npm run start` | ||
5. Make changes | ||
6. Test your changes on: [http://localhost:3000/](http://localhost:3000/) | ||
7. Commit changes | ||
8. Push commits | ||
9. Open pull request | ||
|
||
Docusaurus allows you to use hot reloading when editing the docs pages, so you can now edit any docs page in ./docs and Docusaurus will recompile the markdown and reload the website automatically. | ||
|
||
## [Contribution Guidelines](../CONTRIBUTING.md) | ||
For general information regarding contributions see: [Contribution Guidelines](../CONTRIBUTING.md) |