Initializing git submodules for dev environment.

This commit is contained in:
Roland 2024-08-05 17:06:49 -06:00
parent 428f2e3e0d
commit 2b8ef79561
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 11 additions and 8 deletions

View file

@ -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 -`

View file

@ -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