freewebwithme

freewebwithme

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?

Showing Posts 1 to 7

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.

NobbZ

NobbZ

I simply don’t share actual data between systems.

Code is in repository, structure of data is defined in the migrations.

Dev environment is defined via nix expressions.

The database content isn’t shared at all.

eahanson

eahanson

Maybe rsync the files between the two computers, perhaps via rsync.net if the two computers aren’t always online at the same time?

Or mutagen?

You might need to dump the DB to a file on one computer and restore on the other rather than syncing the raw data files around.

derek-zhou

derek-zhou

I have a desktop and a laptop too. I am on my laptop 100% of the time but I always ssh into my desktop for everything except the browser. Basically, I use my desktop as a beefy VPS.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews