0.0.0 • Published 8 years ago

fastboot-gitlab-app-server v0.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Ember FastBoot GitLab App server

This is a production-ready dockerized app server for running Ember FastBoot apps from GitLab build artifacts using these modules:

Usage

As a Docker container

$ docker run -d --restart always --name my-fastboot-server \
  -e URL="http://gitlab.example.com" \
  -e TOKEN="abcdefghij123456" \
  -p 3000:80
  buschtoens/fastboot-gitlab-app-server:latest

As a stand-alone Node.js server

$ git clone https://github.com/buschtoens/fastboot-gitlab-app-server.git
$ PORT=3000 URL="http://gitlab.example.com" TOKEN="abcdefghij123456" npm start

As a Node.js module

$ npm install --save fastboot-gitlab-app-server
const FastBootGitLabAppServer = require('fastboot-gitlab-app-server');

const server = new FastBootGitLabAppServer({
  url:   process.ENV.URL,
  token: process.ENV.TOKEN
});

server.start();