Permalink
Browse files

sync root

  • Loading branch information...
kamilsk committed Jan 4, 2019
1 parent 8c0ecc2 commit d166ae2c691e7bfe0527329b211157430deae752
Showing with 70 additions and 28 deletions.
  1. +16 āˆ’0 .dockerignore
  2. +27 āˆ’14 .gitattributes
  3. +1 āˆ’3 .gitignore
  4. +2 āˆ’1 .scrutinizer.yml
  5. +4 āˆ’2 .travis.yml
  6. +1 āˆ’1 LICENSE
  7. +19 āˆ’7 README.md
@@ -0,0 +1,16 @@
/docs
/env

/.github
/.dockerignore
/.gitattributes
/.gitignore
/.goreleaser.yml
/.scrutinizer.yml
/.travis.yml

/Makefile
/Gopkg.*

*.md
*_test.go
@@ -1,14 +1,27 @@
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
.github export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.goreleaser.yml export-ignore
.travis.yml export-ignore

/docs/ export-ignore
/env/ export-ignore
/makes/ export-ignore
/Makefile export-ignore

*.md export-ignore
*_test.go export-ignore
/docs export-ignore
/env export-ignore

/.github export-ignore
/.dockerignore export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.goreleaser.yml export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore

/Makefile export-ignore
/Gopkg.* export-ignore

*.md export-ignore
*_test.go export-ignore

/docs/* -diff -merge
/docs/* linguist-generated=true
*_easyjson.go -diff -merge
*_easyjson.go linguist-generated=true
*.pb.go -diff -merge
*.pb.go linguist-generated=true
bindata.go -diff -merge
bindata.go linguist-generated=true
mock_*_test.go -diff -merge
mock_*_test.go linguist-generated=true
@@ -2,9 +2,7 @@
*.out

# database
/static/migrations/*
!/static/migrations/1_initial.sql
/env/backup.db
/env/docker/db/*.dump

# environment
*.env
@@ -31,4 +31,5 @@ filter:
- 'vendor/'
- '*_test.go'
- '*_easyjson.go'
- 'static/bindata.go'
- '*.pb.go'
- 'pkg/static/bindata.go'
@@ -5,17 +5,19 @@ go:
- 1.x
- 1.9.x
- 1.10.x
- 1.11.x

matrix:
allow_failures:
- go: master
fast_finish: true

sudo: false

script:
- make test ARGS='-timeout=1s'

env:
- META=github.com/kamilsk/passport/pkg/cmd

after_success:
- echo $TRAVIS_GO_VERSION ":" $TRAVIS_TAG
- if [[ $TRAVIS_GO_VERSION == 1.10* ]] && [ -n "$TRAVIS_TAG" ]; then curl -sL https://git.io/goreleaser | bash; fi
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 OctoLab, https://www.octolab.org/ <feedback@octolab.org>
Copyright (c) 2019 OctoLab, https://www.octolab.org/ <feedback@octolab.org>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -6,7 +6,7 @@
[![Build Status][icon_build]][page_build]
[![Code Coverage][icon_coverage]][page_quality]
[![Code Quality][icon_quality]][page_quality]
[![Research][icon_research]](../../tree/research)
[![Research][icon_research]][page_research]
[![License][icon_license]](LICENSE)

## Roadmap
@@ -21,23 +21,30 @@
- [**Somehow, 20xx**][project_v3_dl]
- Authentication center.

## Motivation

- We have to full control over our users' data and protect it from third parties.

## Quick start

Requirements:

- Docker 17.09.0-ce or above
- Docker Compose 1.16.1 or above
- Docker 18.06.0-ce or above
- Docker Compose 1.22.0 or above
- Go 1.9.2 or above
- GNU Make 3.81 or above

```bash
$ make up status
$ make up demo status
Name Command State Ports
----------------------------------------------------------------------------------------------------------------------------------
Name Command State Ports
------------------------------------------------------------------------------------------------------------------
passport_db_1 docker-entrypoint.sh postgres Up 0.0.0.0:5432->5432/tcp
passport_server_1 /bin/sh -c envsubst '$SERV ... Up 80/tcp, 0.0.0.0:80->8080/tcp
passport_service_1 passport run --with-profil ... Up 0.0.0.0:8080->80/tcp, 0.0.0.0:8090->8090/tcp, 0.0.0.0:8091->8091/tcp
passport_service_1 passport run --with-profil ... Up 0.0.0.0:8080->80/tcp, 0.0.0.0:8090->8090/tcp,
0.0.0.0:8091->8091/tcp, 0.0.0.0:8092->8092/tcp
$ make help
```
## Specification
@@ -53,6 +60,8 @@ HTTP client to work with the API - you can import data for it from the [file](en
<summary><strong>Service command-line interface</strong></summary>
```bash
$ make install
$ passport --help
Passport
@@ -107,6 +116,8 @@ $ tar xf passport.tar.gz -C "${GOPATH}"/bin/ && rm passport.tar.gz
```bash
$ docker pull kamilsk/passport:1.x
# or use mirror
$ docker pull quay.io/kamilsk/passport:1.x
```
### From source code
@@ -150,6 +161,7 @@ made with ā¤ļø by [OctoLab](https://www.octolab.org/)
[page_build]: https://travis-ci.org/kamilsk/passport
[page_promo]: https://kamilsk.github.io/passport/
[page_research]: ../../tree/research
[page_quality]: https://scrutinizer-ci.com/g/kamilsk/passport/?branch=master
[project_v1]: https://github.com/kamilsk/passport/projects/2

0 comments on commit d166ae2

Please sign in to comment.