Code Monkey home page Code Monkey logo

esug.github.io's Introduction

esug.github.io

This repository hosts Esug's website. This repository contains two branches:

  • source: contains the website source code, written in Pillar, plus the used html templates
  • master: contains the generated website. Do not touch manually this branch, since this branch is automatically overwritten on every commit to "source". See the next section.

Locally serving files

In the folder,

ecstatic serve -w

Then point your web browser to localhost:8080

ecstatic serve -p 9999

Automatic generation

This repository is built on travis on each commit on the source branch. On every commit, ecstatic is loaded, the website generated, and the resulting website is pushed to the master branch. Check the .travis.yml file for details.

To be able to automatically push to github from travis, we followed the next steps, taken from [1]

  • Put the current repo under Travis

  • Get a Personal Access Token under https://github.com/settings/tokens. Only enable "public_repo" access for public repositories, "repo" for private. Save the token somewhere as you can only see it once.

  • Install the travis gem:

$ gem install travis # See: https://stackoverflow.com/a/33119804/895245
gem update --system

Then cd into your repository and encrypt an environment variable called GH_TOKEN with your token assigned. This environment variable will be used by the prepare_for_deploy.sh script later on.

$ travis encrypt GH_TOKEN=<api-token> --add

This will modify your .travis.yml file.

  • Commit and push!

[1] https://stackoverflow.com/questions/12343452/how-to-publish-artifacts-in-travis-ci/33109519#33109519

esug.github.io's People

Contributors

alejandroinfante avatar bergel avatar bouraqadi avatar cdlm avatar ducasse avatar estebanlm avatar gcorriga avatar guillep avatar hernanwilkinson avatar j-brant avatar jecisc avatar jurajkubelka avatar lucfabresse avatar marcusdenker avatar marmat21 avatar oliveiraallex avatar pavel-krivanek avatar rainerwinkler avatar rob5rs avatar samakhov avatar sbragagnolo avatar sergestinckwich avatar

Watchers

 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.