Giter Site home page Giter Site logo

lunatech-blog's Introduction

lunatech-blog

Contains our blog in Asciidoctor format.

Each post is located in the posts directory with the following format: yyyy-MM-dd-title.adoc

In the media directory there should be a matching image named yyyy-MM-dd-title/background.png

All media used in the posts should be located in the media directory under a yyyy-MM-dd-title directory ie media/yyy-MM-dd-title

To add you blog post:

  • Install giter8, via coursier
brew install coursier/formulas/coursier
cs install giter8
  • Fork this repo
  • Checkout the forked repo
  • In the repo directory g8 file://.
  • Write your blog post
  • Submit a pull request and follow the template

Information regarding giter8

If you see this error :

Error: giter8 has been disabled because it fetches unversioned dependencies at runtime!

Then you can bypass the warning message by doing the following:

brew edit giter8

and delete this line:

disable! because: "fetches unversioned dependencies at runtime"

then run brew install giter8 again.

Provide compressed images

Every blogpost has at least one image which makes the Lunatech blog relatively heavy in memory consumption. One way of to combat this is by compressing images using pngcrush. You can install it using brew:

brew install pngcrush

You can then create a compressed version of each image (png/jpeg/gif) you are submitting alongside your blogpost:

pngcrush -rem allb -brute -reduce in.png out.png

For very large images the command may take a long time to complete.

How to deploy your post

Merging your PR will update the main branch only. Besides main there's also a production branch.

Getting your post to the acceptance environment

The acceptance blog post environment will allow you to see how your post looks like.

Simply get your PR merged to the main branch. Afterwards the blog engine needs to be manually restarted in clever cloud as well. Please ask your colleagues if you don't know how to do that.

Getting your post to the production environment

production will allow you to finally share your post with the world.

Applying your changes in the acceptance environment to the production environment:

git checkout production
git rebase main
git push origin production

The blog engine needs to be manually restarted in clever cloud as well. Please ask your colleagues if you don't know how to do that.

lunatech-blog's People

Contributors

abensoussan avatar agoetschm avatar anastasiial avatar chriseteka avatar ckipp01 avatar eamelink avatar eloots avatar ggarvanese avatar iarmush avatar ihor-mutel avatar jdijt avatar leo-bogastry avatar markehammons avatar mcsuka avatar njlbenn avatar nmoncho avatar pedrolunatech avatar pepite avatar peutit avatar pinguedwinde avatar sachgar avatar shabab477 avatar smthelusive avatar tehreemfatima07 avatar tesfayenati avatar thinkmorestupidless avatar vanny96 avatar vincentbrule avatar wjglerum avatar zanio avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lunatech-blog's Issues

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.