Skip to content

Instantly share code, notes, and snippets.

View flosommerfeld's full-sized avatar
:atom:
Coding

Florian Sommerfeld flosommerfeld

:atom:
Coding
View GitHub Profile
@flosommerfeld
flosommerfeld / events.json
Created October 7, 2021 11:46 — forked from nikolak/events.json
Simple flask example that uses fullcalendar.io
[
{
"title": "All Day Event",
"start": "2014-09-01"
},
{
"title": "Long Event",
"start": "2014-09-07",
"end": "2014-09-10"
},
@flosommerfeld
flosommerfeld / pypi-mirror.md
Last active September 4, 2021 18:05 — forked from aschmu/pypi-mirror.md
Setting up a PyPi mirror

https://www.linuxhowto.net/how-to-setup-local-apt-repository-server-on-ubuntu-20-04/

I) Introduction

Taken from: [https://groups.google.com/forum/#!topic/devpi-dev/S-3ioWILTiY]).

We wanted to do some python developpement but we had a problem : our working network is completely isolated from any internet access, only having servers providing services like distribution packages repository mirror and web servers. The question then was how to make a full pypi mirror for usig pip install and pip search.

This is possible to be done using devpi, a web server, bandersnatch and an external hard drive.