OvermindDL1

OvermindDL1

Elixir-lang.org mirrors

It was stated at elixir-lang.org blocked in Russia · Issue #6172 · elixir-lang/elixir · GitHub 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.forum.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: Mirrors | Hex. 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. specifications/apiary.apib at main · hexpm/specifications · GitHub

Where Next?

Popular in Wikis Top

swelham
Introduction After some discussion with a few other members we thought it might be an idea to start a thread where we can post about libr...
New
axelson
With the new year I am looking at travel for this year and I’d love to base some travel around Elixir. So in the spirit of the 2017 threa...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41539 114
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
axelson
Preamble This Wiki is intended to be a community-maintained (see the Contribution Guidelines if interested) resource of common “gotchas” ...
New
jdumont
Guide Using an iPad for web development can be easily split into two main parts: Setting up the iPad as a thin client Working in a remo...
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
blackode
Hi and Hello Every Elixirian. After Learning the Elixir basics, I struck then. I have no idea of how to put my Elixir Knowledge in pract...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 47930 226
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

siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41539 114
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
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
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement