kokolegorille

kokolegorille

Hello dear alchemists,

There was this question some days ago here about the deployment to a VPS.

As I was in the process of deploying to a VPS. I thought it would be nice to share, so I build a small demo repo and described the process.

https://github.com/kokolegorille/app

I hope You will find it useful.

Showing Posts 1 to 10

dokuzbir

dokuzbir

Timing is perfect. thanks @kokolegorille

wmnnd

wmnnd

Maybe you’d like to add a paragraph about security? If you don’t want to dive into it too much, you could acknowledge that this is purely an instruction for getting an application running, not a complete manual on how to provision a production server for an Elixir application.

kokolegorille

kokolegorille OP

I will, thanks for the advice. It is for the moment just a default installation, in particular, I will add https and wss support later when done.

All suggestions are welcomed.

wmnnd

wmnnd

I was more thinking about removing unnecessary packages, setting up security updates, limiting user logins, etc :slight_smile:

ibarch

ibarch

A paragraph about deploy automatization with tools like edeliver will also be appreciated.

dokuzbir

dokuzbir

@kokolegorille that tutorial is really perfect for beginners as me. You detailed every step clearly.

I have a queston about building machine. What is benefits of building releases in another machine? Cant i just do that in development machine ?

kokolegorille

kokolegorille OP

It is completely possible to use the same machine for build and production.

I am using two because it highlights the fact that the production server does not need any building tools to make it run. It does not even need to have Erlang and Elixir.

Using edeliver automates the process I made manually, in fact, it will take care of copying, installing, building the project for You.

dokuzbir

dokuzbir

build and production, but not same build and development machine for releases right? I havent deployed any app yet. So i dont know about releases

kokolegorille

kokolegorille OP

I am working on a Mac but deploy to Linux… probably like many of us.

dokuzbir

dokuzbir

I am using linux for development. So i can build releases on development machine and i can directly upload tar file to production server?

Where Next? Top

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews