git-annex/doc/install/Windows.mdwn

39 lines
1.5 KiB
Text
Raw Normal View History

2014-02-04 19:13:25 +00:00
git-annex now does Windows!
2013-05-13 17:46:03 +00:00
* First, [install git](http://git-scm.com/downloads) (msysgit 1.9 or newer is needed)
* Then, [install git-annex](https://downloads.kitenet.net/git-annex/windows/current/)
2013-05-15 00:12:13 +00:00
2014-02-04 19:13:25 +00:00
This port is now in reasonably good shape for command-line use of
git-annex. The assistant and webapp are still in an early state.
See [[todo/windows_support]] for current status.
2013-05-15 00:12:13 +00:00
The autobuilder is not currently able to run the test suite, so
testing git-annex on Windows is up to you! To check that the build of
git-annex works in your Windows system, you are encouraged to run the test
suite before using git-annex on real data. After installation, run `git
annex test`. There will be a lot of output; the important thing is that it
2014-02-04 19:13:25 +00:00
should end with "All tests passed".
2013-05-17 17:38:45 +00:00
## autobuilds
2013-05-13 17:46:03 +00:00
2013-05-17 17:45:33 +00:00
A daily build is also available, thanks to Yury V. Zaytsev and
[NEST](http://nest-initiative.org/).
2013-05-15 00:12:13 +00:00
2013-05-21 18:28:12 +00:00
* [download](https://qa.nest-initiative.org/view/msysGit/job/msysgit-git-annex-assistant-test/lastSuccessfulBuild/artifact/git-annex/git-annex-installer.exe) ([build logs](https://qa.nest-initiative.org/view/msysGit/job/msysgit-git-annex-assistant-test/))
2013-05-15 00:12:13 +00:00
2013-05-17 17:38:45 +00:00
## building it yourself
To build git-annex from source on Windows, you need to install
2013-12-09 19:57:41 +00:00
the Haskell Platform, Mingw, and Cygwin. Use Cygwin to install:
gcc rsync git wget ssh gnupg
Once the prerequisites are installed, run:
2013-05-15 00:12:13 +00:00
2013-12-06 00:40:28 +00:00
cabal update
2013-12-07 17:06:01 +00:00
git clone git://git-annex.branchable.com/ gitannex
2013-12-06 00:40:28 +00:00
cd gitannex
build
2013-12-09 19:57:41 +00:00
(To build the git-annex installer, you also need to install the NulSoft
installer system.)