Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/arcanist_quick_start.diviner
Show All 34 Lines | |||||
@{article:Arcanist User Guide: Configuring a New Project}. | @{article:Arcanist User Guide: Configuring a New Project}. | ||||
Create a `.arcconfig` file in your project's working copy: | Create a `.arcconfig` file in your project's working copy: | ||||
$ cd yourproject/ | $ cd yourproject/ | ||||
yourproject/ $ $EDITOR .arcconfig | yourproject/ $ $EDITOR .arcconfig | ||||
yourproject/ $ cat .arcconfig | yourproject/ $ cat .arcconfig | ||||
{ | { | ||||
"phabricator.uri" : "https://phabricator.example.com/" | "phabricator.uri" : "https://phorge.example.com/" | ||||
} | } | ||||
Set `phabricator.uri` to the URI for your Phabricator install (where `arc` | Set `phabricator.uri` to the URI for your Phorge install (where `arc` | ||||
should send changes to). | should send changes to). | ||||
NOTE: You should **commit this file** to the repository. | NOTE: You should **commit this file** to the repository. | ||||
= Install Arcanist Credentials = | = Install Arcanist Credentials = | ||||
Credentials allow you to authenticate. You must have an account on Phabricator | Credentials allow you to authenticate. You must have an account on Phorge | ||||
before you can perform this step. | before you can perform this step. | ||||
$ cd yourproject/ | $ cd yourproject/ | ||||
yourproject/ $ arc install-certificate | yourproject/ $ arc install-certificate | ||||
... | ... | ||||
Follow the instructions. This will link your user account on your local machine | Follow the instructions. This will link your user account on your local machine | ||||
to your Phabricator account. | to your Phorge account. | ||||
= Send Changes For Review = | = Send Changes For Review = | ||||
For detailed instructions on using `arc diff`, see | For detailed instructions on using `arc diff`, see | ||||
@{article:Arcanist User Guide: arc diff}. | @{article:Arcanist User Guide: arc diff}. | ||||
$ $EDITOR file.c | $ $EDITOR file.c | ||||
$ arc diff | $ arc diff | ||||
Show All 10 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0