-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0a7f4cc
Showing
1,213 changed files
with
400,300 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory" : "public/bower_components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DATABASE_URL="dbname=jqplay sslmode=disable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bin/jqplay | ||
gin-bin | ||
node_modules | ||
public/bower_components | ||
public/css | ||
public/js | ||
public/index.tmpl | ||
assets/tmp | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
sudo: false | ||
language: go | ||
go: | ||
- 1.11.1 | ||
env: | ||
- TRAVIS_NODE_VERSION="7" | ||
install: | ||
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION | ||
script: | ||
- bin/build | ||
- bin/test | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM golang:latest | ||
|
||
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \ | ||
nodejs \ | ||
&& curl -sL https://deb.nodesource.com/setup_8.x > /bin/getnpm \ | ||
&& chmod +x /bin/getnpm \ | ||
&& /bin/getnpm \ | ||
&& apt-get install npm \ | ||
&& npm install --global grunt-cli bower \ | ||
&& rm -rf /vr/lib/apt/lists/* | ||
|
||
ENV PORT 80 | ||
|
||
ADD . $GOPATH/src/github.com/jingweno/jqplay | ||
WORKDIR $GOPATH/src/github.com/jingweno/jqplay | ||
RUN bin/build | ||
EXPOSE 80 | ||
|
||
CMD ["bin/jqplay"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/sirupsen/logrus" | ||
version = "1.0.3" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/jmoiron/sqlx" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/joeshaw/envdecode" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/lib/pq" | ||
|
||
[[constraint]] | ||
name = "github.com/satori/go.uuid" | ||
version = "1.1.0" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/unrolled/secure" | ||
|
||
[[constraint]] | ||
name = "gopkg.in/gin-gonic/gin.v1" | ||
version = "1.2.0" | ||
|
||
[metadata.heroku] | ||
root-package = "github.com/jingweno/jqplay" | ||
install = [ "./cmd/..." ] | ||
ensure = "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = function(grunt) { | ||
grunt.loadTasks('tasks'); | ||
grunt.registerTask('build', "Builds the application.", | ||
['clean', 'concat', 'cssmin', 'uglify', 'replace']); | ||
grunt.option('ts', new Date().getTime()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Copyright (c) 2014 Jingwen Owen Ou | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: ./bin/jqplay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# jqplay | ||
|
||
https://jqplay.org [![Build Status](https://travis-ci.org/jingweno/jqplay.svg?branch=master)](https://travis-ci.org/jingweno/jqplay) [![OpenCollective](https://opencollective.com/jqplay/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/jqplay/sponsors/badge.svg)](#sponsors) | ||
|
||
A playground for [jq](https://github.com/stedolan/jq) made with love by [@jingweno](https://github.com/jingweno), [@lokywin](https://github.com/lokywin) and [@leoping](https://github.com/leoping). Please put it into good use. | ||
|
||
## Development | ||
|
||
To develop `jqplay`, you need to have a [Go development environment](http://golang.org/doc/install). | ||
You also need to have Node & Postgresql installed. | ||
|
||
### bin/setup | ||
|
||
This script will setup Postgresql for `jqplay`. | ||
|
||
### bin/start | ||
|
||
This script will build and start the `jqplay` server. | ||
|
||
## Support | ||
|
||
### Backers | ||
Love our work and community? [Become a backer](https://opencollective.com/jqplay#backer). | ||
|
||
<a href="https://opencollective.com/jqplay/backer/0/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/0/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/1/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/1/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/2/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/2/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/3/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/3/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/4/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/4/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/5/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/5/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/6/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/6/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/7/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/7/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/8/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/8/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/9/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/9/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/10/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/10/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/11/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/11/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/12/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/12/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/13/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/13/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/14/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/14/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/15/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/15/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/16/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/16/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/17/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/17/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/18/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/18/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/19/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/19/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/20/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/20/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/21/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/21/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/22/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/22/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/23/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/23/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/24/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/24/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/25/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/25/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/26/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/26/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/27/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/27/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/28/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/28/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/backer/29/website" target="_blank"><img src="https://opencollective.com/jqplay/backer/29/avatar.svg"></a> | ||
|
||
### Sponsors | ||
|
||
Use jqplay? Love jqplay? Help [sponsor the project](https://opencollective.com/jqplay#sponsor) and help fill our mugs with coffee. | ||
|
||
<a href="https://opencollective.com/jqplay/sponsor/0/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/0/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/1/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/1/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/2/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/2/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/3/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/3/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/4/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/4/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/5/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/5/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/6/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/6/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/7/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/7/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/8/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/8/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/9/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/9/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/10/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/10/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/11/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/11/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/12/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/12/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/13/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/13/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/14/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/14/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/15/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/15/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/16/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/16/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/17/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/17/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/18/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/18/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/19/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/19/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/20/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/20/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/21/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/21/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/22/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/22/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/23/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/23/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/24/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/24/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/25/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/25/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/26/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/26/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/27/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/27/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/28/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/28/avatar.svg"></a> | ||
<a href="https://opencollective.com/jqplay/sponsor/29/website" target="_blank"><img src="https://opencollective.com/jqplay/sponsor/29/avatar.svg"></a> | ||
|
||
### License | ||
|
||
jqplay is released under the MIT license. See [LICENSE.md](https://github.com/jingweno/jqplay/blob/master/LICENSE.md). |
Oops, something went wrong.