From 01ce06cd22aa2f03e10ea9af7bf81f4730a53b53 Mon Sep 17 00:00:00 2001 From: jomo Date: Wed, 7 Oct 2015 01:10:41 +0200 Subject: [PATCH] Move Installation to wiki --- README.md | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 95388d8..63ff7e4 100644 --- a/README.md +++ b/README.md @@ -37,41 +37,7 @@ Please [visit the website](https://crafatar.com) for details. Have a look at [crafatar/setup](https://github.com/crafatar/setup) to see how we set things up at Crafatar. -## Installation on Heroku -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) - -## Installation on Dokku -##### [dokku server] -Install the [dokku-redis](https://github.com/ohardy/dokku-redis#redis-plugin-for-dokku) plugin. -```shell -dokku redis:start -dokku apps:create crafatar -dokku config:set crafatar BIND=0.0.0.0 PORT=5000 -``` -For persistent images and logs: -```shell -dokku docker-options:add crafatar deploy "-v /var/lib/crafatar/images:/app/images" -dokku docker-options:add crafatar deploy "-v /var/log/crafatar:/app/logs" -``` -If you want to listen on extra domains: -```shell -dokku domains crafatar:add example.com -``` -##### [your machine] -Add dokku remote and deploy! -```shell -git remote add dokku dokku@example.com:crafatar -git push dokku master -``` - -## Installation on your machine -* Use io.js -* [Install](https://github.com/Automattic/node-canvas/wiki) Cairo. -* `npm install` -* Start `redis-server` -* `npm start` -* Access [http://localhost:3000](http://localhost:3000) - +For more info about local setup, Heroku, or Dokku please see [Installation](https://github.com/crafatar/crafatar/wiki/Installation) on the wiki. ## Tests ```shell @@ -87,4 +53,4 @@ env VERBOSE_TEST=true npm test It can be helpful to monitor redis commands to debug caching errors: ```shell redis-cli monitor -``` +``` \ No newline at end of file