Merge pull request #2 from amadeous/master
Add install process (since no install script) and default admin user
This commit is contained in:
commit
0ebcb70335
14
README.md
14
README.md
@ -24,13 +24,23 @@ 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)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
- GPL
|
- GPL
|
||||||
- μlogger is a fork of phpTrackme - tracks viewer I wrote for TrackMe app
|
- μlogger is a fork of phpTrackme - tracks viewer I wrote for TrackMe app
|
||||||
|
@ -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;
|
||||||
|
@ -92,4 +92,11 @@ ALTER TABLE `tracks`
|
|||||||
-- AUTO_INCREMENT for table `users`
|
-- AUTO_INCREMENT for table `users`
|
||||||
--
|
--
|
||||||
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