@ -1,4 +1,7 @@
These install instructions assume a plain Ubuntu 22.04 server installation.
These install instructions are tested on a plain Ubuntu 22 or Debian 11 Server installation.
You either need to [install a modern nodejs version](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
or replace the `openstreetbrowser.min.js` with `openstreetbrowser.js` in `index.html`.
sudo apt install apache2 libapache2-mod-php curl git php-cli composer nodejs npm php-curl php-yaml
@ -20,20 +23,20 @@ For improved performance you should also run:
Browse to http://localhost/openstreetbrowser
Have fun on http://localhost/openstreetbrowser which is now served via apache from php!
For debugging you should add the following line to conf.php:
For debugging add the following line to conf.php:
$modulekit_nocache = true;
Also you should run:
And then run:
npm run watch
changes and will update the dist/openstreetbrowser.js file. Also it will add
This is very similar to `npm run build`,