-
Notifications
You must be signed in to change notification settings - Fork 65
Installation
Cynthia Lin edited this page Mar 20, 2017
·
22 revisions
![Installation](https://raw.githubusercontent.com/zulip/zulipbot/wiki/wiki/installation-header.png)
Before you get started, make sure you have installed and configured Git on your local machine.
-
Open your command line interface (CLI).
-
Download the latest release or clone this repository to your local machine.
$ git clone https://github.com/zulip/zulipbot.git
- Switch to the local copy of this repository.
$ cd ~/path-to-repo/zulipbot
- Install the necessary node packages and dependencies.
$ npm install
- Create two files in the
src
folder: one file namedconfig.js
, the other namedsecrets.js
.
$ touch src/config.js
$ touch src/secrets.js
- Run the bot to ensure that your environment was configured correctly.
$ npm start
- Invite @zulipbot to collaborate on your organization's repository.
- Change @zulipbot's permission level in the repository to Admin.
- Finally, add the zulipbot integration to your repository.
Need more help? Join us on the zulipbot stream on the Zulip development community server.