Coder Social home page Coder Social logo

anto90e / developers.italia.it Goto Github PK

View Code? Open in Web Editor NEW

This project forked from italia/developers.italia.it

1.0 0.0 0.0 111.83 MB

The developer community designing and developing public digital services in Italy

Home Page: https://developers.italia.it

License: BSD 3-Clause "New" or "Revised" License

Ruby 2.53% HTML 29.66% CSS 23.77% JavaScript 43.70% Makefile 0.21% Dockerfile 0.13%

developers.italia.it's Introduction

Developers Italia


We develop public services, together

Description

Developers Italia is the reference point for the community of developers creating the next generation of digital public services in Italy.

This repository contains the sources of the website. The website is developed using Jekyll and it's currently served through GitHub pages.

A CircleCI job builds the sources and commits the resulting artifacts to GitHub, in the gh-pages branch. The same job is also triggered every night to get the most updated data feeding the website.

Documentation

Development

A development environment can be both brought up directly on the developer machine and in form of a Docker container.

The same commands -run in the Dockerfile- can also be run directly on the developer machine.

The docker-compose.yml file uses environment variables declared in the file .env file, in the root directory. Please refer to .env.example for the detailed description of those variables.

Before proceeding, copy the .env.example into .env and modify the environment variables as needed.

Then, build the container, running:

docker-compose up [-d] [--build]

where:

  • -d execute the containers in background

  • --build forces the containers build

To destroy the containers, use:

docker-compose down

Wait until the Docker logs explicitly say that the website is served on 0.0.0.0:4000. Then, open a browser and navigate to http://localhost:4000 to preview the website.

Recompile handlebars templates

Within folder _templates live some handlebars templates that operate in various areas. Once they get modified it is necessary recompile them. To do that we can use npx utility as follow:

npx [email protected] _templates/search.handlebars -f assets/templates/search.tpl.js

Makefile

Both the CircleCI build and the Docker files leverage a Makefile, facilitating the execution of more complex routines. You can have a look at the Makefile to know more about the exact commands used to build the website.

Community

Code of Conduct

Please review our Code of Conduct to ensure a great collaboration with the rest of the community.

Contributing

Developers Italia exists also thanks to your contributions! Here is a list of users who already contributed to this repository:

This list is also displayed in the Developers Italia website.

Every contribution is welcome! However, before proceeding further please take a look at our contributing guidelines.

License

Copyright (c) 2018-2020 - Presidenza del Consiglio dei Ministri

The source code is released under the BSD license (code SPDX: BSD-3-Clause) and it's distributed with this license since May 30th 2018. The previous code has been released under under the MIT license.

developers.italia.it's People

Contributors

alranel avatar libremente avatar sebbalex avatar rasky avatar ruphy avatar vito80ba avatar iceonfire avatar bfabio avatar dependabot-preview[bot] avatar sbronzolo avatar lussoluca avatar francescomda avatar francescozaia avatar dependabot-support avatar chiarafauda-wellnet avatar gvarisco avatar dependabot[bot] avatar lucaprete avatar r3vit avatar gesposito avatar ioggstream avatar gmereu avatar ema-pe avatar gunzip avatar matteodesanti avatar umbros avatar fredbonux avatar pdavide avatar ffranchina avatar giupal avatar

Stargazers

Anto90e  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.