freewebwithme

freewebwithme

How to move databases or other files between dev machines?

I have a main desktop for my work, and sometimes I use laptop too.
but sometimes it is hard to copy my dev database to laptop and also .env filㄷ.
How do you guys handle this?

Most Liked

stefanchrobot

stefanchrobot

I’m on my laptop 100% of the time. I use full screen apps (MacOS) on a 13" screen. I love how they fill in all the space. I don’t use external monitors, so I’m fully mobile and I don’t have to tweak my setup if I move to a different room or place. Extra screen is useful when doing web apps, but I don’t mind the lack of it that much.

thojanssens1

thojanssens1

I think he’s rather asking how to share the database between his desktop computer and his laptop. Title is misleading :sweat_smile:

stefanchrobot

stefanchrobot

Well, my solution is to not have that problem altoghether.

At one job everybody was getting a workstation and a laptop. For most of the people it was a waste, since people didn’t bother to set up a replica of the dev environment and mostly used the laptop to run presentations. Which was a shame, since the laptops were pretty beefy.

josefrichter

josefrichter

Isn’t stuff like Vagrant exactly for this purpose? I know we used it in the past on some Rails projects mainly to share the same environment between different developers on that project. It was a few years back though, don’t some people use Docker for the same use case these days?

Other than that, I also use just 15" macbook and stay mobile :slight_smile: When I need additional screen, I connect my 12" iPad Pro next to it, that’s actually a very nice setup.

Where Next?

Popular in Questions Top

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
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
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
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
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
wernerlaude
In AR this is so simple @articles = current_user.articles How to do in Ecto? def index(conn, _params) do current_user = conn.assig...
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

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
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
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
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
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
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
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
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New

We're in Beta

About us Mission Statement