added gitignores
This commit is contained in:
1 parent
51d37fe172
commit
32c9730321
8 files changed
+54
-27
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
vulture
|
||||||
|
vulture.exe
|
||||||
|
*.out
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
syntax: glob
|
|
||||||
re:^client/bower_components/
|
|
||||||
re:^client/node_modules/
|
|
||||||
re:^client/js/
|
|
||||||
re:^client/lib/
|
|
||||||
re:^vulture$
|
|
||||||
*.komodoproject
|
|
||||||
*.out
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2014 didier
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -10,9 +10,9 @@ project is inspired by [mongs](http://whit537.org/mongs/) but has additional fea
|
|||||||
### run vulture
|
### run vulture
|
||||||
|
|
||||||
1. Download your binaries
|
1. Download your binaries
|
||||||
* [windows](https://bitbucket.org/damyot/vulture/downloads/vulture_1.0.0-vulture_windows_amd64.zip)
|
* [windows](https://bitbucket.org/damyot/vulture/downloads/vulture_1.1.0-vulture_windows_amd64.zip)
|
||||||
* [mac](https://bitbucket.org/damyot/vulture/downloads/vulture_1.0.0-vulture_darwin_amd64.zip)
|
* [mac](https://bitbucket.org/damyot/vulture/downloads/vulture_1.1.0-vulture_darwin_amd64.zip)
|
||||||
* [linux](https://bitbucket.org/damyot/vulture/downloads/vulture_1.0.0-vulture_linux_amd64.tar.gz)
|
* [linux](https://bitbucket.org/damyot/vulture/downloads/vulture_1.1.0-vulture_linux_amd64.tar.gz)
|
||||||
|
|
||||||
2. Unzip the file
|
2. Unzip the file
|
||||||
|
|
||||||
@@ -21,8 +21,8 @@ project is inspired by [mongs](http://whit537.org/mongs/) but has additional fea
|
|||||||
|
|
||||||
### params
|
### params
|
||||||
|
|
||||||
You can add mongodb servers or change the vulture listening port in the params.yml
|
You can add mongodb servers or change the vulture listening port in the
|
||||||
file.
|
*params.yml* file.
|
||||||
|
|
||||||
|
|
||||||
### screenshots
|
### screenshots
|
||||||
@@ -34,13 +34,13 @@ file.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[general_view]: https://raw.githubusercontent.com/didiercrunch/vulture/master/screenshots/general.png
|
||||||
|
[geojson_view]: https://raw.githubusercontent.com/didiercrunch/vulture/master/screenshots/geo.png
|
||||||
|
[stats_view]: https://raw.githubusercontent.com/didiercrunch/vulture/master/screenshots/stats.png
|
||||||
|
[key_view]: https://raw.githubusercontent.com/didiercrunch/vulture/master/screenshots/key.png
|
||||||
|
|
||||||
|
|
||||||
|
### coding style
|
||||||
|
|
||||||
|
The coding standard is very low. Unfortunatly. there are very few tests. If the project
|
||||||
|
triggers enough enthusiasm, I'll make more tests.
|
||||||
|
|
||||||
[general_view]: https://bytebucket.org/damyot/vulture/raw/default/screenshots/general.png
|
|
||||||
[geojson_view]: https://bytebucket.org/damyot/vulture/raw/default/screenshots/geo.png
|
|
||||||
[stats_view]: https://bytebucket.org/damyot/vulture/raw/default/screenshots/stats.png
|
|
||||||
[key_view]: https://bytebucket.org/damyot/vulture/raw/default/screenshots/key.png
|
|
||||||
@@ -1,16 +1,18 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/damyot/vulture/shared"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gorilla/mux"
|
|
||||||
"gopkg.in/mgo.v2"
|
|
||||||
"gopkg.in/mgo.v2/bson"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
"github.com/gorilla/mux"
|
||||||
|
"gopkg.in/mgo.v2"
|
||||||
|
"gopkg.in/mgo.v2/bson"
|
||||||
|
|
||||||
|
"github.com/didiercrunch/vulture/shared"
|
||||||
)
|
)
|
||||||
|
|
||||||
type VultureBackend struct {
|
type VultureBackend struct {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
node_modules/**
|
||||||
|
bower_components/**
|
||||||
|
js/**
|
||||||
|
lib/**
|
||||||
|
|
||||||
|
npm-debug.log
|
||||||
|
|
||||||
@@ -2,13 +2,14 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gorilla/mux"
|
|
||||||
goyaml "gopkg.in/yaml.v2"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path"
|
"path"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
"github.com/gorilla/mux"
|
||||||
|
goyaml "gopkg.in/yaml.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
const PARAM_FILE string = "params.yml"
|
const PARAM_FILE string = "params.yml"
|
||||||
|
|||||||
+2
-1
@@ -3,9 +3,10 @@ package shared
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"gopkg.in/mgo.v2"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"gopkg.in/mgo.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var mongoClients = make(map[string]*mgo.Session)
|
var mongoClients = make(map[string]*mgo.Session)
|
||||||
|
|||||||
Reference in new issue
Block a user