From 5e347b0932e354d5a994fc31c990070cb91a5802 Mon Sep 17 00:00:00 2001 From: Mick Vermeulen Date: Wed, 16 Sep 2020 17:59:57 +0200 Subject: [PATCH] remove data/.gitkeep as it messes with initial postgres setup, add setup instructions to readme --- .gitignore | 1 - README.md | 14 ++++++++++++++ Uchu | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5e6e72f..b25a549 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ data/* -!data/.gitkeep .env .DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 6a56863..7c06f2b 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Docker setup for running the Uchu Lego Universe server ## Setup +#### Downloading the source + Clone the repository recursively, so that the Uchu source is also pulled: ```bash @@ -20,6 +22,8 @@ git clone https://github.com/MickVermeulen/UchuDocker.git --recursive -b master git clone git@github.com:MickVermeulen/UchuDocker.git --recursive -b master ``` +#### Setting up your environment + Copy the `.env.sample` file to `.env`: ```bash @@ -32,6 +36,16 @@ copy .env.sample .env Set the `GAME_FOLDER` variable in the `.env` file to the absolute path to the `/res` folder in your unpacked `LU` game folder using a text editor of your choice. +#### Setting up data storage + +Create a data folder which will store your database files to ensure no loss of data: + +```bash +mkdir data +``` + +This can also be done by creating a new folder named `data` manually, without the terminal. + ## Running ```bash diff --git a/Uchu b/Uchu index 33fc2ff..be33824 160000 --- a/Uchu +++ b/Uchu @@ -1 +1 @@ -Subproject commit 33fc2ff94368718d95ba43e9334919037697cda3 +Subproject commit be33824b7fcde69f87ac29ba720405adf00524dd