You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,16 @@ and [language guide](http://wiki.openstreetmap.org/wiki/Level0L).
8
8
9
9
You will need PHP with `mod_gettext`.
10
10
11
-
* Point your `DocumentRoot` to the `www` directory.
12
-
* Run `composer install`.
13
-
* Open [this link](https://www.openstreetmap.org/oauth2/applications/new) and register
14
-
your instance of Level0. It needs permissions for reading user details and modifying the map.
15
-
* Create `www/config.php` from `www/config.php.sample`, inserting both OAuth keys.
16
-
* Create `data` directory and give writing permissions for it to web server process.
11
+
1. Point your `DocumentRoot` to the `www` directory.
12
+
13
+
2. Run `composer install`.
14
+
15
+
3. Open [this link](https://www.openstreetmap.org/oauth2/applications/new) and register
16
+
your instance of Level0. It needs permissions for reading user details and modifying the map. When asked for a redirect URL set `$your_installation/index.php?action=callback` (the public demo uses `https://level0.osmz.ru/index.php?action=callback`)
17
+
18
+
4. Create `www/config.php` from `www/config.php.sample`, inserting both OAuth keys.
19
+
20
+
5. Create `data` directory and give writing permissions for it to web server process.
17
21
Check path in `config.php`. Maybe you'll also need `httpd_sys_rw_content` SELinux tag.
18
22
19
23
You're set: download some data in the editor and login to OSM.
0 commit comments