2023-09-12 19:04:00 +02:00
|
|
|
---
|
|
|
|
orphan: true
|
|
|
|
---
|
2018-01-23 20:36:07 +01:00
|
|
|
|
2017-10-29 02:02:58 +01:00
|
|
|
# How to request a remote Zulip development instance
|
|
|
|
|
|
|
|
Under specific circumstances, typically during sprints, hackathons, and
|
|
|
|
Google Code-in, Zulip can provide you with a virtual machine with the
|
|
|
|
development environment already set up.
|
|
|
|
|
|
|
|
The machines (droplets) are being generously provided by
|
2020-07-30 02:09:05 +02:00
|
|
|
[DigitalOcean](https://www.digitalocean.com/). Thank you DigitalOcean!
|
2017-10-29 02:02:58 +01:00
|
|
|
|
2021-05-10 07:02:14 +02:00
|
|
|
## Step 1: Join GitHub and create SSH keys
|
2017-10-29 02:02:58 +01:00
|
|
|
|
|
|
|
To contribute to Zulip and to use a remote Zulip developer instance, you'll
|
|
|
|
need a GitHub account. If you don't already have one, sign up
|
|
|
|
[here][github-join].
|
|
|
|
|
|
|
|
You'll also need to [create SSH keys and add them to your GitHub
|
|
|
|
account][github-help-add-ssh-key].
|
|
|
|
|
|
|
|
## Step 2: Create a fork of zulip/zulip
|
|
|
|
|
|
|
|
Zulip uses a **forked-repo** and **[rebase][gitbook-rebase]-oriented
|
|
|
|
workflow**. This means that all contributors create a fork of the [Zulip
|
|
|
|
repository][github-zulip-zulip] they want to contribute to and then submit pull
|
|
|
|
requests to the upstream repository to have their contributions reviewed and
|
|
|
|
accepted.
|
|
|
|
|
|
|
|
When we create your Zulip dev instance, we'll connect it to your fork of Zulip,
|
|
|
|
so that needs to exist before you make your request.
|
|
|
|
|
|
|
|
While you're logged in to GitHub, navigate to [zulip/zulip][github-zulip-zulip]
|
|
|
|
and click the **Fork** button. (See [GitHub's help article][github-help-fork]
|
|
|
|
for further details).
|
|
|
|
|
|
|
|
## Step 3: Make request via chat.zulip.org
|
|
|
|
|
|
|
|
Now that you have a GitHub account, have added your SSH keys, and forked
|
|
|
|
zulip/zulip, you are ready to request your Zulip developer instance.
|
|
|
|
|
|
|
|
If you haven't already, create an account on https://chat.zulip.org/.
|
|
|
|
|
|
|
|
Next, join the [development
|
2024-06-06 21:48:31 +02:00
|
|
|
help](https://chat.zulip.org/#narrow/channel/49-development-help) channel. Create a
|
2024-05-20 18:09:56 +02:00
|
|
|
new **channel message** with your GitHub username as the **topic** and request
|
2017-10-29 02:02:58 +01:00
|
|
|
your remote dev instance. **Please make sure you have completed steps 1 and 2
|
|
|
|
before doing so**. A core developer should reply letting you know they're
|
|
|
|
working on creating it as soon as they are available to help.
|
|
|
|
|
|
|
|
Once requested, it will only take a few minutes to create your instance. You
|
|
|
|
will be contacted when it is complete and available.
|
|
|
|
|
|
|
|
## Next steps
|
|
|
|
|
|
|
|
Once your remote dev instance is ready:
|
|
|
|
|
|
|
|
- Connect to your server by running
|
|
|
|
`ssh zulipdev@<username>.zulipdev.org` on the command line
|
|
|
|
(Terminal for macOS and Linux, Bash for Git on Windows).
|
|
|
|
- There is no password; your account is configured to use your SSH keys.
|
2017-12-14 16:52:44 +01:00
|
|
|
- Once you log in, you should see `(zulip-py3-venv) ~$`.
|
2023-03-04 02:17:54 +01:00
|
|
|
- To start the dev server, `cd zulip` and then run `./tools/run-dev`.
|
2017-10-29 02:02:58 +01:00
|
|
|
- While the dev server is running, you can see the Zulip server in your browser
|
2021-04-16 04:35:15 +02:00
|
|
|
at http://zulip.username.zulipdev.org:9991.
|
|
|
|
- The development server actually runs on all subdomains of
|
|
|
|
`username.zulipdev.org`; this is important for testing Zulip's
|
|
|
|
support for multiple organizations in your development server.
|
2017-10-29 02:02:58 +01:00
|
|
|
|
|
|
|
Once you've confirmed you can connect to your remote server, take a look at:
|
|
|
|
|
2022-02-24 00:17:21 +01:00
|
|
|
- [developing remotely](remote.md) for tips on using the remote dev
|
2017-10-29 02:02:58 +01:00
|
|
|
instance, and
|
2021-08-20 21:45:39 +02:00
|
|
|
- our [Git & GitHub guide](../git/index.md) to learn how to use Git with Zulip.
|
2017-10-29 02:02:58 +01:00
|
|
|
|
|
|
|
Next, read the following to learn more about developing for Zulip:
|
|
|
|
|
2022-02-24 00:17:21 +01:00
|
|
|
- [Using the development environment](using.md)
|
2021-08-20 21:45:39 +02:00
|
|
|
- [Testing](../testing/testing.md)
|
2017-10-29 02:02:58 +01:00
|
|
|
|
|
|
|
[github-join]: https://github.com/join
|
2019-02-26 02:49:09 +01:00
|
|
|
[github-help-add-ssh-key]: https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account
|
2017-10-29 02:02:58 +01:00
|
|
|
[github-zulip-zulip]: https://github.com/zulip/zulip/
|
2019-02-26 02:49:09 +01:00
|
|
|
[github-help-fork]: https://help.github.com/en/articles/fork-a-repo
|
2017-10-29 02:02:58 +01:00
|
|
|
[gitbook-rebase]: https://git-scm.com/book/en/v2/Git-Branching-Rebasing
|