mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Adding upgrade instructions to Readme.
This commit is contained in:
parent
5bd9201e58
commit
99bd878c98
2 changed files with 31 additions and 3 deletions
18
README.md
18
README.md
|
|
@ -36,8 +36,20 @@ network so that any person with a laptop/tablet/phone can connect and use the da
|
|||
- [ ] Podcast player & downloader
|
||||
|
||||
# Demo
|
||||
|
||||
<a href="https://www.youtube.com/watch?v=g0Do_mlQcBU"> </a>
|
||||
|
||||
|
||||
Table of Contents
|
||||
=================
|
||||
|
||||
* [Try WROLPi](#try-wrolpi)
|
||||
* [Debian 11 Install](#debian-11-install)
|
||||
* [Raspberry Pi Install](#raspberrypi-install)
|
||||
* [Charter](#charter)
|
||||
* [Upgrading WROLPi](UPGRADE.md)
|
||||
* [Join](#charter)
|
||||
|
||||
# Try WROLPi!
|
||||
|
||||
You can try out WROLPi by running the docker containers.
|
||||
|
|
@ -49,10 +61,10 @@ You can try out WROLPi by running the docker containers.
|
|||
3. Change directory into the code base
|
||||
* `cd wrolpi`
|
||||
4. Build the containers
|
||||
* `docker-compose build --parallel`
|
||||
* `docker-compose build --parallel`
|
||||
5. Create volumes
|
||||
* `docker volume create --name=openstreetmap-data`
|
||||
* `docker volume create --name=openstreetmap-rendered-tiles`
|
||||
* `docker volume create --name=openstreetmap-data`
|
||||
* `docker volume create --name=openstreetmap-rendered-tiles`
|
||||
6. Start the database.
|
||||
* `docker-compose up -d db`
|
||||
7. Initialize the database
|
||||
|
|
|
|||
16
UPGRADE.md
Normal file
16
UPGRADE.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Upgrading WROLPi
|
||||
|
||||
## Upgrading Docker containers
|
||||
|
||||
1. Pull the latest master
|
||||
* `git pull origin master --ff`
|
||||
2. Stop docker containers
|
||||
* `docker-compose stop`
|
||||
3. Build all docker containers
|
||||
* `docker-compose build --parallel`
|
||||
4. Turn on the database
|
||||
* `docker-compose up -d db`
|
||||
5. Upgrade the database
|
||||
* `docker-compose run --rm api db upgrade`
|
||||
6. Start all docker containers
|
||||
* `docker-compose up -d`
|
||||
Loading…
Add table
Add a link
Reference in a new issue