Git Product home page Git Product logo

skgtech.io-docker's Introduction

Docker image for skgtech.io

Image builds: hub.docker.com/r/skgtech/website/builds/

About

This is a simple Docker image to help on the development of the skgtech.io website which is hosted on github.com/skgtech/skgtech.github.io.

See more about "Thessaloniki Tech Community" at skgtech.io.

Online docker image: hub.docker.com/r/skgtech/website

Requirements

Usage

  • Pull the docker image docker pull skgtech/website
  • Fork the official repository github.com/skgtech/skgtech.github.io. You can use hub to do this from CLI if you like
  • Clone your own repository locally (skip this if you have used hub)
  • Create a new Docker container
  • SSH into the new container and run gulp
  • Open http://172.17.0.2:3000 (you will see a site same as http://skgtech.io)
  • Make changes to the code (locally)
  • Commit and push to your repo
  • Create a pull request (online)
  • Get a badge for your support ;-)

Example of commands

// Pull latest docker image
docker pull skgtech/website

// Fork repository https://github.com/skgtech/skgtech.github.io.
// If you are using https://hub.github.com/ you can do this easily like this:
git fork https://github.com/skgtech/skgtech.github.io

// Get into the folder
cd /path/to/skgtech.github.io

// Create a new container (you may need sudo to run docker)
// The files under /path/to/skgtech.github.io are mounted with the docker container files at /app/skgtech.io
// The command bellow will start stat gulp tasks by default
docker run -i -t \
           --name skgtech_container \
           -p 3000:3000 -p 3001:3001 \
           -v `pwd`/_sass:/app/skgtech.io/_sass \
           -v `pwd`/_frontapp:/app/skgtech.io/_frontapp \
           -v `pwd`/_includes:/app/skgtech.io/_includes \
           -v `pwd`/_layouts:/app/skgtech.io/_layouts \
           -v `pwd`/_data:/app/skgtech.io/_data \
           -v `pwd`/assets:/app/skgtech.io/assets \
           skgtech/website

// Open http://172.17.0.2:3000 on your browser
google-chrome http://172.17.0.2:3000

// Make git commits locally under repo at /path/to/skgtech.github.io/

// Create a pull request

// If you want to SSH into the container
docker exec -i -t skgtech_container /bin/bash

License

MIT. See more at LICENSE.

skgtech.io-docker's People

Contributors

theodorosploumis avatar

Stargazers

 avatar Kostas Bariotis avatar

Watchers

Vaios Karampinis avatar Thanos Polychronakis avatar George Spanos avatar James Cloos avatar Ioannis Poulakas avatar  avatar John Economou avatar Amalia Vradi 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.