OvermindDL1

OvermindDL1

Elixir-lang.org mirrors

It was stated at https://github.com/elixir-lang/elixir/issues/6172 that Mirrors of the primary Elixir website would be useful since Cloudflare and Fastly have so many issues in so many situations (the situation above is Cloudflare being blocked in Russia), so I set up a mirror. It should sync up at least once a day or so (cron job) but I’d love if the normal Elixir site could just push to it directly (SSH key over SFTP is simple to do), but this should work for now. Feel free to use it if anyone needs it. If anyone else hosts any mirrors then note it here as I’ll make this top post a Wiki entry. :slight_smile:

http://elixir-lang-mirror.elixirforum.com/

Most Liked

AstonJ

AstonJ

Ok the Elixirforum.com mirror is now automatically updated three times a day :023:

If anyone wants the bashscript I am using it is:

#!/bin/bash
cd /path/to/your/elixir-lang.github.com/directory
git pull
jekyll b
rm -rf /path/to/where/you/serve/the/mirror/from/public_html/*
mv /path/to/your/elixir-lang.github.com/directory/_site/* /path/to/where/you/serve/the/mirror/from/public_html/

@OvermindDL1 I use letsencrypt as well, but have never used it on a sub-domain before - I use HAProxy on the front end and Discourse uses Docker (so unusual set-up) and didn’t want to risk any probs with the forum :lol: is https a must just for the mirror which is a static site? I would think http is fine as there’s no log-in, etc?

If there is a simple/easy way to mirror Hex docs I’m happy to do that as well :slight_smile:

ericmj

ericmj

Elixir Core Team

Yes: https://hex.pm/docs/mirrors. Run mix help hex.repo for docs.

OvermindDL1

OvermindDL1

I’m of the opinion that https is mandatory everywhere, personally. ^.^
I automated that asap when Let’s Encrypt came out.

I’d like to know too, I have more than enough space so I could mirror it as well. Hex.pm too.

ericmj

ericmj

Elixir Core Team

The easiest way would be to set up an HTTP proxy. You can also traverse the API and download the doc tarballs for every release. https://github.com/hexpm/specifications/blob/master/apiary.apib#L383

Where Next?

Popular in Wikis Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
georgeguimaraes
Hi people, since the new year is coming, I’d like to plan my travels for events in 2017. So, what events (Elixir or FP related) that you...
New
Rich_Morin
I’d like to start a discussion of data serialization formats, in the context of Elixir. The rest of this note is a combination of persona...
New
anildigital
Here is list of plugins for different editors Sublime Text 3 — Elixir.tmbundle - https://github.com/elixir-editors/elixir-tmbundle/#co...
New
AstonJ
Wonder if we can compile a list of learning resources, blog posts, talks, threads etc to help those who are just learning about Contexts....
New
AstonJ
I’ve noticed we’ve got a few now - wonder if we can compile a list? This is a wiki - anyone at Trust Level 1 can edit :023: Link: This...
New
gmile
:httpc HTTP client is part of Erlang standard library, and as such can be easily used in Elixir code too. One particular advantage of usi...
New
BartOtten
A wiki for Doom Emacs Doom is a configuration framework for GNU Emacs. It focuses on performance and customizability. It can be a founda...
New
nicbet
Introduction Now that the language is picking up support and maturing nicely, I’d like to start a collection of common and recurring Elix...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New

We're in Beta

About us Mission Statement