2016-03-31 17:06:21 -06:00
# Tracman
2017-04-13 23:19:04 -06:00
###### v 0.6.0
2016-05-05 16:06:45 -06:00
2017-04-25 18:22:18 -06:00
node.js application to display a sharable map with user's location.
2016-04-27 22:02:13 -06:00
## Installation
2017-03-18 13:53:48 -06:00
2016-05-05 16:06:45 -06:00
```sh
2017-03-05 15:20:00 -07:00
$ git clone https://github.com/Tracman-org/Server.git & & (cd Server & & exec npm install)
2016-05-05 16:06:45 -06:00
```
2017-04-26 21:13:14 -06:00
You will need to set up a configuration file at `config/env/env.js` . Use `config/env/sample.js` for an example. You can get API keys at the [google developer's console ](https://console.developers.google.com/apis/credentials ). You will need to set up approved hosts and auth callbacks. There is more information in [their documentation ](https://support.google.com/googleapi/answer/6158857?hl=en ).
A good method is to simply copy the sample configuration and point `config/env/env.js` to the new version:
```sh
$ cp config/env/sample.js config/env/my-config.js
$ echo "module.exports = require('./my-config.js');" > config/env/env.js
```
Then edit `config/env/my-config.js` to match your local environment.
2017-03-18 13:58:57 -06:00
2016-04-27 22:02:13 -06:00
## Running
```sh
2017-04-12 18:22:48 -06:00
$ npm run minify & & npm start
2016-05-12 21:10:34 -06:00
```
2017-04-12 18:57:05 -06:00
or, using [nodemon ](https://nodemon.io/ ):
2017-03-18 13:58:57 -06:00
```sh
2017-04-12 18:57:05 -06:00
$ npm run nodemon
2017-03-18 13:58:57 -06:00
```
2017-03-15 04:30:03 -06:00
## Contributing
2017-04-25 18:22:18 -06:00
Tracman will be updated according to [this branching model ](http://nvie.com/posts/a-successful-git-branching-model )... more or less.
2017-03-15 04:30:03 -06:00
2016-06-14 15:40:09 -06:00
## Changelog
2016-05-12 21:10:34 -06:00
2017-04-13 23:12:59 -06:00
#### v0.6.0
2017-04-25 18:22:18 -06:00
* [#32 ](https://github.com/Tracman-org/Server/issues/32 ), [#57 ](https://github.com/Tracman-org/Server/issues/57 ), [#58 ](https://github.com/Tracman-org/Server/issues/58 ), [#60 ](https://github.com/Tracman-org/Server/issues/60 ) Added more login options
* [#50 ](https://github.com/Tracman-org/Server/issues/50 ) Replaced some callbacks with promises
2017-04-13 23:12:59 -06:00
* Minified static files
2017-04-25 18:22:18 -06:00
* [#51 ](https://github.com/Tracman-org/Server/issues/51 ), [#52 ](https://github.com/Tracman-org/Server/issues/52 ) Added settings validations
* [#54 ](https://github.com/Tracman-org/Server/issues/54 ), [#55 ](https://github.com/Tracman-org/Server/issues/55 ) Made map work better
* [#61 ](https://github.com/Tracman-org/Server/issues/61 ) New MongoDB security
* [#62 ](https://github.com/Tracman-org/Server/issues/62 ) Fixed error handling
2017-04-13 23:12:59 -06:00
#### v0.5.1
2017-03-18 01:39:53 -06:00
* Fixed broken controls
2017-03-15 04:30:03 -06:00
#### v0.5.0
2017-03-05 15:20:00 -07:00
2017-03-14 07:58:56 -06:00
* Updated libraries
* Fixed recognition of attached clients [#34 ](https://github.com/Tracman-org/Server/issues/21 )
2017-04-12 18:57:05 -06:00
* Moved socket.io code to own file.
2017-03-15 04:30:03 -06:00
* Many minor fixes
2017-03-05 15:20:00 -07:00
2016-09-09 20:55:33 -06:00
#### v0.4.3
* Fixed memory store [#21 ](https://github.com/Tracman-org/Server/issues/21 )
2016-09-08 05:26:12 -06:00
#### v0.4.2
* Fixed Streetview covering buttons
* Fixed error when viewing map of nonexistant user
2016-08-09 23:51:49 -06:00
#### v0.4.1
2016-08-10 00:17:37 -06:00
* Users can view/change email address
* Added linked accounts to admin
2016-08-09 23:51:49 -06:00
2016-07-01 19:14:36 -06:00
#### v0.4.0
* Opened registration
* Replaced 'Imperial' with 'Standard'
* Bug fixes
2016-06-14 15:40:09 -06:00
#### v0.3.0
* Unified map and dashboard UI
2016-07-01 19:14:36 -06:00
* Security updates
2017-02-15 03:41:08 -07:00
* New admin UI
2017-04-12 12:40:56 -06:00
## License
2017-04-12 12:42:12 -06:00
###### see [LICENSE.md](https://github.com/Tracman-org/Server/blob/master/LICENSE.md)
2017-04-12 12:40:56 -06:00
Tracman: GPS tracking service in node.js
Copyright © 2017 [Keith Irwin ](https://keithirwin.us/ )
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
2017-04-12 12:42:12 -06:00
You should have received a copy of the GNU General Public License along with this program. If not, see < [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/)>.