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

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
Eiji
At start some definitions: HTTPS (is a protocol for secure communication over a computer network which is widely used on the Internet) -...
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
anildigital
Here is list of plugins for different editors Sublime Text 3 — Elixir.tmbundle - https://github.com/elixir-editors/elixir-tmbundle/#co...
New
axelson
Preamble This Wiki is intended to be a community-maintained (see the Contribution Guidelines if interested) resource of common “gotchas” ...
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
OvermindDL1
It was stated at https://github.com/elixir-lang/elixir/issues/6172 that Mirrors of the primary Elixir website would be useful since Cloud...
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
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

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
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
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New

We're in Beta

About us Mission Statement