|
In a command prompt, run this:
java -version |
The version of Java should be 1.6.0 or higher.
|
Windows uses the JAVA_HOME environment variable to find Java. To check that, in a command prompt, run:
echo %JAVA_HOME% |
You should see a path to the Java install location that does not contain spaces.
|
In a command prompt, run:
git --version |
The version of Git should be 1.7.6 or higher.
|
Download Stash from the Atlassian download site.
Extract the downloaded file to an install location. The path to the extracted directory is referred to as in these instructions.<Stash installation directory>
The Stash home directory is where your Stash data is stored.
You should not locate your Stash home directory inside the
— they should be entirely separate locations. If you do put the home directory in the <Stash installation directory> it will be overwritten, and lost, when Stash gets upgraded. And, by the way, you can't use the same Stash home directory for multiple instances of Stash.<Stash installation directory>
Tell Stash the location where you created your Stash home directory by setting a STASH_HOME environment variable, as follows.
For Windows 7:
STASH_HOME" as the Variable name, and the absolute path to your Stash home directory as the Variable value. Don't use a trailing backslash.See also Running Stash as a Windows service.
If you already have a database you want to use, now is the time to tell Stash about it, before starting Stash for the first time. If you try to do this later, you'll lose data. See Connecting Stash to an external database. Just so you know, we're working on database migration for a future version of Stash.
If you do nothing about this now, Stash will happily use its internal database.
In a command prompt, change directory to <Stash installation directory> and run this:
bin\start-stash.bat |
In your browser, go to http://localhost:7990 and run through the Setup Wizard.
You can postpone setting up JIRA integration until later if you wish; see Configuring JIRA integration in the Setup Wizard .
Configure your email server so users can receive a link from Stash that lets them generate their own passwords. See Setting up your mail server.
Configure access to Stash, using HTTP over SSL, if your data is sensitive and Stash is exposed to the internet. See Securing Stash with HTTPS .
In a command prompt, change directory to <Stash installation directory> and run this:
bin\stop-stash.bat |