Skip to content

Commit

Permalink
Attempt to deploy to Mac using Kamal ❌ failed
Browse files Browse the repository at this point in the history
seems like Kamal needs docker and it is not made to deploy to a MacOS

  basecamp/kamal#432 (comment)
  • Loading branch information
saramic committed Oct 28, 2023
1 parent 5597dfa commit 35d2d66
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
23 changes: 23 additions & 0 deletions WORK_LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Work Log

## Sun 29 Oct 2023

basic Kamal setup

```sh
kamal setup # assuming ssh and local user ssh is setup

INFO [d1efe036] Running /usr/bin/env mkdir -p .kamal on localhost
INFO [d1efe036] Finished in 0.111 seconds with exit status 0 (successful).
Acquiring the deploy lock...
Ensure Docker is installed...
INFO [8fa15605] Running docker -v on localhost
INFO [8fa15605] Finished in 0.005 seconds with exit status 127 (failed).
INFO [5390fdc3] Running [ "${EUID:-$(id -u)}" -eq 0 ] on localhost
INFO [5390fdc3] Finished in 0.004 seconds with exit status 1 (failed).
INFO [4912d399] Running /usr/bin/env mkdir -p .kamal on localhost
INFO [4912d399] Finished in 0.008 seconds with exit status 0 (successful).
```

unfortunately Kamal was not made to deploy on Mac just from mac

DHH - https://github.com/basecamp/kamal/issues/432#issuecomment-1722291423

## Fri 27 Oct 2023

### Starting with Capistrano
Expand Down
5 changes: 4 additions & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ image: user/my-app

# Deploy to these servers.
servers:
- 192.168.0.1
# - 192.168.0.1
- localhost

# Credentials for your image host.
registry:
Expand All @@ -29,6 +30,8 @@ registry:
# Use a different ssh user than root
# ssh:
# user: app
ssh:
user: <%= $USER %>

# Configure builder setup.
# builder:
Expand Down

0 comments on commit 35d2d66

Please sign in to comment.