Merge branch 'master' of https://github.com/bfabiszewski/ulogger-server
This commit is contained in:
commit
3dfb5c4e50
12
README.md
12
README.md
@ -24,10 +24,20 @@ Together with a dedicated [μlogger mobile client](https://github.com/bfabiszews
|
|||||||
- user preferences stored in cookies
|
- user preferences stored in cookies
|
||||||
- simple admin menu
|
- simple admin menu
|
||||||
|
|
||||||
|
## Install
|
||||||
|
1. Download the zip or clone the repository on your computer
|
||||||
|
2. Move it to your web server directory
|
||||||
|
3. Import the script/ulogger.sql file into a mysql database (you can use a msql interface such as [PhpMyAdmin](https://www.phpmyadmin.net).)
|
||||||
|
4. Create a copy of config.default.php and rename it config.php. Add database credentials in it.
|
||||||
|
5. Make sure your web server is running (Apache, Php and Mysql)
|
||||||
|
6. Go to http://your_local_server/ulogger-server/)
|
||||||
|
7. Connect with admin/admin
|
||||||
|
8. Change admin password
|
||||||
|
9. Create other user if needed
|
||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
- install script
|
- install script
|
||||||
- custom icons
|
- custom icons
|
||||||
- improve admin menu
|
|
||||||
- track editing
|
- track editing
|
||||||
- track display filters (accurracy, provider)
|
- track display filters (accurracy, provider)
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ $public_tracks = 0;
|
|||||||
|
|
||||||
// admin user who has access to all users locations
|
// admin user who has access to all users locations
|
||||||
// none if empty
|
// none if empty
|
||||||
$admin_user = "";
|
$admin_user = "admin";
|
||||||
|
|
||||||
// Default interval in seconds for live auto reload
|
// Default interval in seconds for live auto reload
|
||||||
$interval = 10;
|
$interval = 10;
|
||||||
|
@ -93,3 +93,10 @@ ALTER TABLE `tracks`
|
|||||||
--
|
--
|
||||||
ALTER TABLE `users`
|
ALTER TABLE `users`
|
||||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Content of table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `users` (`id`, `login`, `password`) VALUES
|
||||||
|
(1, 'admin', '$2y$10$7OvZrKgonVZM9lkzrTbiou.CVhO3HjPk5y0W9L68fVwPs/osBRIMq'),
|
Loading…
x
Reference in New Issue
Block a user