Code Monkey home page Code Monkey logo

arcanist-installer-for-windows's Introduction

Arcanist installer for windows

Arcanist make file to be used with Inno Setup Compiler to roll out your own Arcanist installer .exe

Configuring default text editor

To configure the text editor that Arcanist will use with commands like arc diff, please follow the instructions at https://secure.phabricator.com/book/phabricator/article/arcanist_windows/#configuring-an-editor

Dependencies

  • Inno Setup Compiler
    • This repository is essentially a makefile for arcanist and its dependencies (PHP & libphutil)
    • Inno will be used to load the makefile and run the installation
    • Download the 'QuickStart Pack' from http://www.jrsoftware.org/isdl.php
  • Git
    • Git CLI will be used to clone this repo and pull down the submodules (libphutil and arcanist) prior to installation

Arcanist Installation Instructions

  1. Use git to clone this repository into a folder of your choice.
$ git clone https://github.com/paladox/Arcanist-installer-for-windows.git
  1. Inside of the repository folder, run the following git commands
$ git submodule
$ git submodule update --init
  1. Run Inno Setup Compiler (see Dependencies)
  2. Use Inno to load the Arcanist.iss file inside of the repo folder
  3. Run the script to start the installation process
    • You can also compile the setup.exe file, which will save to the /out folder of the repo
  4. Install by navigating the installation wizard
    • Be sure to install PHP if you don't have it already
  5. Reboot (for good measure)
  6. From a terminal type arc help to see if arc command is recognized and the Arcanist help menu is displayed
    • also php -v to make sure PHP is working

Troubleshooting Installation

  • In your windows environment variables, make sure your PATH system variable has paths to arcanist and php
    • make sure those paths are accurate
  • make sure you installed the submodules from the git repo before installation via Inno

Notes

If you are using Cygwin on windows without having installed php for cygwin, the arc command will not work correctly. It tries to call php on a filepath which is cygwin-specific i.e. /c/path/to/Arcanist instead of C:/path/to/Arcanist...

Therefore, you will have to add an alias to your cygwin .bashrc or .bash_aliases:

alias arc='php C:/path/to/Arcanist/arcanist/scripts/arcanist.php'

TODO

Add check for php to make sure php is installed otherwise download it and either get the user to unzip it or unzip it with the installer and add to environmental path variable.

arcanist-installer-for-windows's People

Contributors

bango1999 avatar paladox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.