All Projects → jbelmont → containerized-golang-and-vuejs

jbelmont / containerized-golang-and-vuejs

Licence: MIT License
This repository explores an application using docker, golang, and vuejs

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
Vue
7211 projects
Makefile
30231 projects
CSS
56736 projects
Dockerfile
14818 projects
HTML
75241 projects

Projects that are alternatives of or similar to containerized-golang-and-vuejs

react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (+152.63%)
Mutual labels:  coveralls, travis-ci
dashboard
Simple code build dashboard
Stars: ✭ 14 (-26.32%)
Mutual labels:  coveralls, travis-ci
SpringBootRestAPI
A ready-to-use Template for Rest API using spring-boot-microservices, MongoDB as Database, Integrated with codecov and sonarqube, deployable to cloud.
Stars: ✭ 24 (+26.32%)
Mutual labels:  coveralls, travis-ci
continuous-integration-with-python
How to test your python code. How to automatically run your tests for your Python code. How to get reports of the tests coverage
Stars: ✭ 25 (+31.58%)
Mutual labels:  coveralls, travis-ci
projection-pursuit
An implementation of multivariate projection pursuit regression and univariate classification
Stars: ✭ 24 (+26.32%)
Mutual labels:  coveralls, travis-ci
travistorrent-tools
Tools used to create the data on TravisTorrent (http://travistorrent.testroots.org).
Stars: ✭ 38 (+100%)
Mutual labels:  travis-ci
xiaomi-r3g-openwrt-builder
OpenWrt builder for any supported routers using Docker. Scheduled to run weekly
Stars: ✭ 25 (+31.58%)
Mutual labels:  travis-ci
Clean Marvel Kotlin
This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit
Stars: ✭ 27 (+42.11%)
Mutual labels:  travis-ci
googletest-ci
Continuous integration (CI) + Google Test (gtest) + CMake example boilerplate demo
Stars: ✭ 14 (-26.32%)
Mutual labels:  travis-ci
react-innertext
Returns the innerText of a React JSX object.
Stars: ✭ 37 (+94.74%)
Mutual labels:  travis-ci
example-node-and-browser-qunit-ci
Example project with continuous integration for linting and cross-browser testing of isomorphic JavaScript.
Stars: ✭ 18 (-5.26%)
Mutual labels:  coveralls
webperf-dashboard
Web Performance Dashboard forked from https://github.com/boyney123/garie
Stars: ✭ 51 (+168.42%)
Mutual labels:  travis-ci
kMD2PDF
Markdown to PDF conversion library written in Kotlin
Stars: ✭ 14 (-26.32%)
Mutual labels:  travis-ci
argocd-operator-helm
[DEPRECATED] Argo CD Operator (Helm) installs Argo CD in OpenShift and Kubernetes.
Stars: ✭ 18 (-5.26%)
Mutual labels:  travis-ci
firebase-ci
Simplified Firebase interaction for continuous integration
Stars: ✭ 71 (+273.68%)
Mutual labels:  travis-ci
DockerDjangoRest
A Docker setup for a Django REST API with Travis CI support
Stars: ✭ 46 (+142.11%)
Mutual labels:  travis-ci
travis
⛔ ARCHIVED ⛔ Set Up 'Travis' for Testing and Deployment
Stars: ✭ 61 (+221.05%)
Mutual labels:  travis-ci
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (+215.79%)
Mutual labels:  travis-ci
travis-minikube
Run minikube on Travis CI
Stars: ✭ 89 (+368.42%)
Mutual labels:  travis-ci
knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+431.58%)
Mutual labels:  travis-ci

Build Status Coverage Status

Containerized Golang and Vuejs applications

Sections:

Preparations:

  • Install Docker
  • Clone this repo: git clone https://github.com/jbelmont/docker-workshop.git
  • Docker Images:
docker pull mongo:3.4.5
docker pull golang:1.8.3
docker pull redis:3.2.9
docker pull mhart/alpine-node:8.0.0

Assumptions:

  • During this workshop the following ports will be used: 8080, 8081, 3000, 3001.

If they are not available on your machine, adjust the Docker CLI commands accordingly.

Prerequisites

Since Docker leverages the Operating System's virtualization technologies, the install requirements for Docker are specific.

OS X requirements:

  • 2010 or newer model with Intel's MMU virtualization
  • OS X El Capitan 10.11 or newer

Windows requirements:

  • 64-bit Windows
  • Windows 10 Pro, Enterprise or Education (not Home, not Windows 7 or 8) to install Hyper-V
  • Windows 10 Anniversary Update or better
  • Access to your machine's BIOS to turn on virtualization

Install Docker

Docker Logo

Running the environment

  • Run the script npm run build in order to build the 2 images for the frontend and the backend

  • Run the script npm run dev in order to actually spin up the containers

    • Under the hood this script runs docker-compose up frontend backend db redis

Setting up HTTPS for the Golang Server

  • You will need to add a key and a certificate
  • This can easily be done by using the following command:
    • go run $(go env GOROOT)/src/crypto/tls/generate_cert.go --host localhost
    • This will add a key.pem and cert.pem to the current directory
    • If running windows you should be able to the following command:
    • go run %go env GOROOT%/src/crypto/tls/generate_cert.go --host localhost
  • Additionally you will have to update the http server in main.go
    • http.ListenAndServeTLS(":3001", "cert.pem", "key.pem", router)

Gitbook for Docker

Go to the gitbook Here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].