Giter VIP home page Giter VIP logo

sinnerschrader-website's Introduction

ReadMe

This is the SinnerSchrader Website.

Build Status

Starting the Prototype Server

Get the most stable NodeJS-Server

nave use stable

Install all NodeJS modules and grunt-cli for build tools

npm install
npm run build

This step is only required once.

Run the Server

npm start

Build process (watch tasks)

npm run build:watch
npm start

Afterwards open your editor and start hacking.


Docker + Mesos deployment

Run docker container:

docker build --tag <docker-tag> .
docker run -it --rm -e "BASIC=/" -e "HTTPUSER=user;pass" -p 8080:80 <docker-tag>

Deploy docker container to mesos cluster:

docker push <docker-tag>
HTTPUSER="user;pass" envsubst < marathon.json |curl -X POST http://<marathon-host>:8080/v2/apps -d @- -H "Content-type: application/json"

Use Maven as alternative

HTTPUSER="<username>;<password>" mvn package -P frontend,docker,marathon,twiri

Image conversion and optimization scripts

  • interlace
./scripts/interlace.sh

# Convert hero backgrounds to progressive jpgs
./scripts/interlace.sh  "static/images/backgrounds/**/*.jpg jpg"

# Convert static maps to interlaced png
./scripts/interlace.sh  "static/images/contents/sinnerschrader-*.png png"

Browsermatrix

  • Desktop: Chrome, Safari, Opera, Firefox, Edge: current and previous
  • Mobile: Android, iOS: current and previous

sinnerschrader-website's People

Contributors

helgri avatar knisterpeter avatar marionebl avatar katharinapolitta avatar jobssinnerschrader avatar kotzendekrabbe avatar sandystrobel avatar

Watchers

Martin Schuhfuss avatar James Cloos avatar Christian Merkle avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.