Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Zverik committed Jun 16, 2024
1 parent 77a32ce commit 687e065
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ This is a text-based in-browser editor for OSM data. See [its wiki page](http://

You will need PHP with `mod_gettext`.

* Copy all files from `www` to a document root directory.
* Open [this link](http://www.openstreetmap.org/user/username/oauth_clients/new) and register your instance of Level0. It needs permissions for reading user details and modifying the map.
* Edit `config.php`, inserting both OAuth keys.
* Create `data` directory and give writing permissions for it to web server process. Check path in `config.php`.
* Point your `DocumentRoot` to the `www` directory.
* Run `composer install`.
* Open [this link](https://www.openstreetmap.org/oauth2/applications/new) and register your instance of Level0. It needs permissions for reading user details and modifying the map.
* Create `www/config.php` from `www/config.php.sample`, inserting both OAuth keys.
* Create `data` directory and give writing permissions for it to web server process. Check path in `config.php`. Maybe you'll also need `httpd_sys_rw_content` SELinux tag.
* Check path to document root in `locales/deploy_locales` and run it.

You're set: download some data in the editor and login to OSM.
Expand Down

0 comments on commit 687e065

Please sign in to comment.