Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

Install from Docker

GiantMolecularCloud edited this page Sep 5, 2018 · 3 revisions
  1. Open your favorite terminal app
  2. Install git and docker
  3. cd to your wherever you'd like to keep Stash (git will create the directory where stash is stored for you)
  4. Download / clone this repository git clone https://github.com/stashapp/stashserver.git
  5. Enter into the directory you just cloned stash into e.g. cd stashserver.
  6. Create a file named ".env" with the following contents and edit the paths as appropriately:
STASH_DATA=/path/to/media
STASH_METADATA=/path/to/save/metadata
STASH_CACHE=/path/for/cache/files
STASH_DOWNLOADS=/path/to/downloads
  1. Setup the docker container bin/ruby start_docker.rb
  2. Visit Stash your_servers_ip:8008 in your browser and you should see Stash with an empty library

To run the rake tasks:

  1. Log into the docker container you created docker exec -it stash /bin/bash
  2. Enter the stashserver directory in your container cd /home/stash/app
  3. Make sure the user in the docker container can write to the directories you specified in the .env file (except the STASH_DATA directory which only needs read access).
  4. You should be able to run the rake tasks as needed to scan/add media to your stash collection e.g. bin/rails metadata:generate_all.
Clone this wiki locally