Code Monkey home page Code Monkey logo

charm-eng-releases's Introduction

Charm Engineering Releases

This site catalogues releases from charm engineering teams. Its content automatically generated every 15 minutes by querying the Github API and scraping Launchpad pages.

The page is rendered using Hugo, taking data generated by releasegen.

The site is published at: https://releases.juju.is

Development / Contributing

Developing the site is relatively simple. You'll need to have Hugo installed in order to build and serve the pages.

This site doesn't use any content pages, since it relies heavily on templating. All the visual components are in layouts/.

# Clone the repository
git clone https://github.com/canonical/charm-eng-releases
cd releases

# Build and serve the site using Hugo
hugo serve -D

The site should now be available at http://0.0.0.0:1313 on your local machine.

Updating Data

For the live site, data/repos.json is automatically rebuilt from a GitHub Action, but you can build it for local development. The file is generated using releasegen.

First, create a GitHub token with repo permissions and copy it somewhere safe.

# Make sure you have golang installed, if you don't already
sudo snap install go --classic

# Get the latest releasegen binary
go install github.com/jnsgruk/releasegen/cmd/releasegen@latest

# Set your Github API token as an environment variable
export RELEASEGEN_TOKEN=ghp_aBcDeFgHiJkLmNoPqRsTuVwXyZ

# Run the tool and redirect the output to the data file.
releasegen > data/repos.json

charm-eng-releases's People

Contributors

a-velasco avatar actions-user avatar addyess avatar dashmage avatar dependabot[bot] avatar gruyaume avatar jnsgruk avatar juju-charm-bot avatar lucabello avatar lucyllewy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

charm-eng-releases'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.