From 68cf43cc574d8ffde157ff4d617c2152698164cb Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Fri, 26 Jan 2018 09:53:41 +0200 Subject: [PATCH] config as example too --- README.md | 10 ++++++++++ data/{config.json => config.json.example} | 0 2 files changed, 10 insertions(+) rename data/{config.json => config.json.example} (100%) diff --git a/README.md b/README.md index eb9d4c0..0903df4 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,16 @@ A very small file sharing website. The name comes from mispronouncing "files" very badly. +# installation + +- `cp env.example .env` +- `cp data/config.json.example data/config.json` +- `cp data/shares.json.example data/shares.json` +- `docker-compose up --build` +- open URL: http://localhost:8136/list/test + + + - configure shares with data/shares.json - generate shares with utils/create-share.py - configure service with data/config.json diff --git a/data/config.json b/data/config.json.example similarity index 100% rename from data/config.json rename to data/config.json.example