Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 53f9b16

Browse files
committed
Improve readme & setup instructions
1 parent 0f01f83 commit 53f9b16

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,35 @@
22

33
Open the current file in the Phabricator/Diffusion web UI.
44

5-
Reads `~/.arcrc` by default for conduit credentials. Run `arc install-certificate` to get setup, or manually enter your conduit host/token information in the `Settings`.
5+
Just open a file, run the "Open In Diffusion: Open In Phabricator" command, & see file in your browser!
6+
7+
The command looks like this:
8+
9+
![searching for diffusion in the command palette](img/command_palette.png)
10+
11+
## Reporting Bugs/Feature Requests
12+
13+
Open an issue or pull request on [github](https://github.com/ryan953/atom-open-in-diffusion/issues).
14+
15+
## Setup
16+
17+
This plugin tries to read `~/.arcrc` by default for conduit credentials, falling through manually set settings in atom.
18+
19+
#### Option 1: Setup `arc`
20+
21+
1. Follow the [Installing Arcanist](https://secure.phabricator.com/book/phabricator/article/arcanist/#installing-arcanist) steps to setup the `arc` command on your computer.
22+
2. Run `arc install-certificate` in your terminal.
23+
24+
If you can run `arc diff` from your computer then open-in-diffusion will work.
25+
26+
#### Option 2: Atom Settings
27+
28+
Enter your conduit host/token information in the plugin settings:
29+
![](img/atom-settings.png)
30+
31+
32+
1. The Condiut API endpoint is the domain where phabricator is installed with the `/api/` path.
33+
2. Then, you can visit the `/setttings` page to get your api token.
34+
- Click the "Generate Token" button in the top-right.
35+
36+
![](img/phab-settings-tokens.png)

img/atom-settings.png

38.6 KB
Loading

img/command_palette.png

18 KB
Loading

img/phab-settings-tokens.png

112 KB
Loading

0 commit comments

Comments
 (0)