Coder Social home page Coder Social logo

etalab / sill.etalab.gouv.fr Goto Github PK

View Code? Open in Web Editor NEW
6.0 8.0 3.0 6.27 MB

🧢 Interface pour l'affichage du Socle Interministériel des Logiciels Libres

License: Eclipse Public License 2.0

Dockerfile 0.64% Clojure 91.03% CSS 8.27% HTML 0.06%
sill bluehats libre opensource

sill.etalab.gouv.fr's Introduction

CAUTION: This repository is archived.

See https://github.com/etalab/sill for directions on how https://sill.etalab.gouv.fr is built, as of May 2022.

What is this repository?

This repository contains the source code for the SILL, the catalog of recommended free software for the public sector.

The list of software itself is maintained on this repository.

img

Develop

~$ git clone https://git.sr.ht/~etalab/sill.etalab.gouv.fr
~$ cd sillweb/
~$ clj -M:test
~$ clj -M:run
~$ clj -M:fig

Check http://locahost:9500 then hack and see changes going live.

Deploy

Configure environment variables

You will need to configure these environment variables:

SMTP_HOST: the host from which to send emails
SMTP_LOGIN: the smtp login to use to send emails
SMTP_PASSWORD: the smtp password to use to send emails
SILLWEB_ADMIN_EMAIL: the email where to receive messages
SILLWEB_FROM: the From header for sent emails
SILLWEB_PORT: the port to run the application
SILLWEB_MSGID_DOMAIN: what fqdn to use to build the message-id
SILLWEB_STATIC_FILES_PATH: where to store static files (no trailing slash)

Deploy as a jar

~$ git clone https://git.sr.ht/~etalab/sill.etalab.gouv.fr
~$ cd sillweb/
~$ clj -M:js
~$ clj -M:uberdeps
~$ java -cp target/sillweb.jar clojure.main -m sillweb.server

Then go to https://localhost:3000 or to your custom base URL.

Deploy with Docker

Assuming your environments variables are stored in ~/.sillweb_envs and you want to expose the 3000 port:

~$ git clone https://git.sr.ht/~etalab/sill.etalab.gouv.fr
~$ cd sillweb/
~$ clj -M:js
~$ clj -M:uberdeps
~$ docker build -t sillweb .
~$ docker run -it -p 3000:3000 --env-file=~/.sillweb_envs sillweb

Then go to http://localhost:3000.

Contributing

The development of this repository happens on the SourceHut repository.

The code is also published on GitHub to reach more developers, but please do not send pull requests there.

You can send patches by email using git-send-email.io. For your patches to be processed correctly, configure your local copy with this:

git config format.subjectPrefix 'PATCH sill.etalab.gouv.fr'

You can also contribute with bug reports, feature requests or general questions by writing to ~etalab/[email protected].

Support the Clojure(script) ecosystem

If you like Clojure(script), please consider supporting maintainers by donating to clojuriststogether.org.

License

2019-2022 DINUM, Bastien Guerry.

This application is published under the EPL 2.0 license.

sill.etalab.gouv.fr's People

Contributors

bzg avatar dzc34 avatar garronej avatar luciopileggi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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