From 2b8ef79561ac1c47158fedfdaf7f64ba6bad468b Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 5 Aug 2024 17:06:49 -0600 Subject: [PATCH] Initializing git submodules for dev environment. --- README.md | 18 ++++++++++-------- scripts/dev_build.sh | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 84ee2727..f7f5915e 100644 --- a/README.md +++ b/README.md @@ -77,18 +77,20 @@ You can try out WROLPi by running the docker containers. * `git clone https://github.com/lrnselfreliance/wrolpi.git` 3. Change directory into the code base. * `cd wrolpi` -4. Build the containers. +4. Initialize git submodules + * `git submodule update --init` +5. Build the containers. * `docker-compose build --parallel` -5. Create volumes. +6. Create volumes. * `docker volume create --name=openstreetmap-data` * `docker volume create --name=openstreetmap-rendered-tiles` -6. Start the database. +7. Start the database. * `docker-compose up -d db` -7. Initialize the database. +8. Initialize the database. * `docker-compose run --rm api db upgrade` -8. Start the docker containers. +9. Start the docker containers. * `docker-compose up` -9. Browse to WROLPi. +10. Browse to WROLPi. * https://0.0.0.0:8443 # Debian 12 Install @@ -99,8 +101,8 @@ Steps necessary to initialize your WROLPi after installing the Debian image from 2. Insert the thumb-drive into the laptop, boot to the thumb-drive 1. Select "Start Installer" 2. Install Debian 12 as you would like. - 1. It is recommended to use the hostname **wrolpi** - 2. (WROLPi will be installed during the installation without your intervention.) + 1. It is recommended to use the hostname **wrolpi** + 2. (WROLPi will be installed during the installation without your intervention.) 3. Unplug the thumb-drive after the installation has completed 4. Login as the user _you_ created during installation. 5. Switch to the root user: `su -` diff --git a/scripts/dev_build.sh b/scripts/dev_build.sh index bec6295e..bafeb3af 100755 --- a/scripts/dev_build.sh +++ b/scripts/dev_build.sh @@ -3,6 +3,7 @@ docker volume create --name=openstreetmap-data docker volume create --name=openstreetmap-rendered-tiles +git submodule update --init docker-compose pull docker-compose build --parallel docker-compose up -d db