From aa478fe2325c3ee07ac449f6eb2fb393df5835e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 4 Oct 2022 19:37:04 +0200 Subject: [PATCH] Update installation instructions to Ubuntu 22.04 --- README.md | 1 - doc/INSTALL.md | 12 ++++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 807fb3b0..63b670bf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ ## INSTALL ```sh -sudo apt install php-yaml git clone https://github.com/plepe/openstreetbrowser.git cd openstreetbrowser npm install diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 6fae3b48..39a000f5 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -1,21 +1,17 @@ -These install instructions assume a plain Ubuntu 16.04 server installation. +These install instructions assume a plain Ubuntu 22.04 server installation. ```sh -sudo apt install apache2 libapache2-mod-php git php-cli composer nodejs-legacy npm php-curl +sudo apt install apache2 libapache2-mod-php curl git php-cli composer nodejs npm php-curl php-yaml sudo chmod 777 /var/www/html cd /var/www/html git clone https://github.com/plepe/openstreetbrowser.git cd openstreetbrowser npm install -# At 'npm install' ignore the error "Failed at the openstreetbrowser lint -# script 'standard src/*.js'. This just means that there are some errors with -# the coding style, but this is not fatal. composer install -git submodule init -git submodule update +git submodule update --init cp conf.php-dist conf.php nano conf.php -npm run build +mkdir data bin/download_dependencies ```