From d3b9c27d418110e834c44c1afe18959f496046d2 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Fri, 1 Mar 2024 22:01:27 +0100 Subject: [PATCH] Prime istruzioni su readme, corretta pipeline drone. --- .drone.yml | 4 +--- README.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 372dd33..52dd377 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,11 +16,9 @@ steps: SSH_PRIVATE_KEY: from_secret: conference_sshprivkey commands: - - pushd ~ - - ./prepare.sh + - /app/prepare.sh - python3 -m venv venv --system-site-packages - source venv/bin/activate - - popd - pip install -r requirements.txt - make rsync_public diff --git a/README.md b/README.md index 7f4ceb1..64ea428 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ [![Build Status](https://drone.libreitalia.org/api/badges/libreitalia/conference-site/status.svg)](https://drone.libreitalia.org/libreitalia/conference-site) # Sito web delle conferenze LibreItalia # + +### Istruzioni per lo sviluppo ### + +Il sito รจ costruito con [Pelican](https://getpelican.com/). Per poter +sviluppare in locale il sito, effettuare le seguenti operazioni: + +```sh +$ git clone https://git.libreitalia.org/libreitalia/conference-site +$ cd conference-site +$ python3 -m venv venv +$ source venv/bin/activate +$ pip install -r requirements.txt +$ make devserver +```