Updating git clone urls for github.

This commit is contained in:
Roland 2022-03-19 17:49:29 -06:00
parent c16d8800b8
commit e3498c5ad4
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 19 additions and 3 deletions

View file

@ -45,7 +45,7 @@ You can try out WROLPi by running the docker containers.
1. [Install docker-ce](https://docs.docker.com/install/linux/docker-ce/debian/) and
[docker-compose](https://docs.docker.com/compose/install/)
2. Copy the latest WROLPi code
* `git clone git@github.com:lrnselfreliance/wrolpi.git`
* `git clone https://github.com/lrnselfreliance/wrolpi.git`
3. Change directory into the code base
* `cd wrolpi`
4. Build the containers
@ -62,6 +62,22 @@ You can try out WROLPi by running the docker containers.
9. Browse to WROLPi
* http://0.0.0.0:8080
# Debian 11 Install
Install WROLPi onto a fresh Debian 11 system.
**Warning: this will clobber anything else on the system! Do not run this installation script elsewhere!**
1. Install [Debian 11](https://www.debian.org/) onto a laptop or other computer.
2. Login to the new system.
3. Get the WROLPi installation script
* `wget https://raw.githubusercontent.com/lrnselfreliance/wrolpi/release/install.sh -O /tmp/install.sh`
4. Run the installation script
* `sudo /bin/bash /tmp/install.sh`
5. Start WROLPi
* `sudo systemctl start wrolpi.target`
6. Browse to the IP address of your WROLPi!
# RaspberryPi Install
Install WROLPi onto a fresh Raspberry Pi.

View file

@ -26,7 +26,7 @@ sudo -u postgres psql -d gis -c "ALTER TABLE geometry_columns OWNER TO wrolpi;"
sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO wrolpi;"
# Install Ubuntu 20.04 compatible mod_tile.
git clone -b switch2osm git://github.com/lrnselfreliance/mod_tile.git /tmp/mod_tile || :
git clone -b switch2osm https://github.com/lrnselfreliance/mod_tile.git /tmp/mod_tile || :
if [ ! -f /usr/lib/apache2/modules/mod_tile.so ]; then
(cd /tmp/mod_tile && ./autogen.sh && ./configure && make -j4 && make install && make install-mod_tile && ldconfig)
fi
@ -40,7 +40,7 @@ chmod +x /etc/init.d/renderd
chown wrolpi /var/lib/mod_tile
# Initialize gis database.
git clone git://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto || :
git clone https://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto || :
chown -R wrolpi:wrolpi /opt/openstreetmap-carto
cd /opt/openstreetmap-carto
if [[ ! -f /opt/openstreetmap-carto/mapnik.xml || ! -s /opt/openstreetmap-carto/mapnik.xml ]]; then