Engineering

Our engineering is underpinned by principles that celebrate both the integrity of code and the ambition to innovate. This manifesto champions excellence, advocates for the adoption of cutting-edge technologies, and fosters an environment of continuous intellectual growth.

Docker Shell aliases

Rico recommends adding the dr alias for working with Docker. Here's an example you can add to your .bashrc or .zshrc:

# [D]ocker [r]un as a task alias dr="docker-compose run --rm web" # [D]ocker [j]un as a [s]erver alias drs="docker-compose run --rm --service-ports web" # Up alias dcu="docker-compose up"

What does it do?

The dr command will run a task in a Docker container. Think of it just like heroku run.

dr bash # opens a shell dr mix test # runs tests (elixir) dr yarn --force # force installs yarn dependencies

The drs command runs servers, which will open ports. Use it for running servers:

drs iex -S mix phx.server # phoenix drs rails s # rails

The dcu command is just a shorthand for docker-compose up. This will launch your server. Think of this as the "one simple way to start any project."

dcu # Up the server (and show logs) dcu -d # Up the server, [d]etached in the background
Next: Design Playbook

Connect.

Mashup Garage, a premier software development team, specialises in crafting exceptional products for startups and enterprises. With expertise in React, Elixir/Phoenix, and Ruby on Rails, we deliver solutions that meet your unique needs. Our mission is to bring value backed by decades of technical expertise and global co-founding experience.

What do you need help with?

Build a project

Build a team

Consult

Speak to someone

Expect a guaranteed response from us in 1-2 business days.

United Kingdom

London

Islington, London

+44 738 777 3405

LDN

Philippines

Manila

3F Topy IV Building, 3 Economia Road, Bagumbayan, Quezon City, 1110

+63 917 3084089

MNL