Skip to content

poudre-aux-yeux/matte-ma-raquette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Matte ma raquette

Join the chat at https://gitter.im/poudre-aux-yeux/matte-ma-raquette

Ecosystem

Back-end:

rAPIquette: GraphQL API

Front-ends:

MonArbitreRaquette: Web application for the referee

MatteMaRaquette: Web application to watch the live scores and results

GereMaRaquette: Back-office Web application to administrate accounts, players, matches, stadiums...

Development

Develop with Docker Compose.

To develop an UI :

# API
docker-compose up api

In your UI, hit https://127.0.0.1/graphql.

To just run an UI :

docker-compose up

And hit the UI you want to browse.

Kubernetes

Apply the latest k8s configuration (this will not pull the latest images)

kubectly apply -f k8s

To manually update a Docker image, delete the out-of-date deployment and apply the k8s config again.

Setup the CI

Docker

Setup your Dockerfile and make sure it works.

Try building it:

docker build -t [docker hub repo]:latest .

for exemple: docker build -t poudreauxyeux/rapiquette:latest.

and pushing it:

docker push [docker hub repo]:latest

Travis CI

Create a .travis.yml file at the root of your project :

sudo: required

services:
  - docker

env:
  - IMAGE_COMMIT=[docker hub repo]:$TRAVIS_COMMIT
  - IMAGE_LATEST=[docker hub repo]:latest

before_install:
  - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"

script:
  - docker build -t $IMAGE_COMMIT -t $IMAGE_LATEST .

after_success:
  - docker push $IMAGE_COMMIT
  - docker push $IMAGE_LATEST

Navigate to https://travis-ci.org/, and activate Travis CI for your repository. In the project settings on Travis CI, setup the two environment variables: DOCKER_USERNAME and DOCKER_PASSWORD.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published