This is a Hanami 2 application.
To bootstrap and setup the app and its assets server, just run:
sbin/setup docker
To start the app:
docker-compose up app
The scripts below require Homebrew and asdf installed, and asdf added to your shell.
If you prefer different tools, remove Brewfile
and .tool-versions
, and adapt
the sbin/
files (mentioned below) to use your preferred tools.
After cloning, run:
./sbin/bootstrap
To start the supporting services, run:
./sbin/support
These must be running before completing the following steps.
After the supporting services have started, run:
./sbin/setup
After pulling changes from the remote, run:
./sbin/update
To run the app:
./sbin/server
This launches the application processes using overmind, which places
each into a tmux session. You can connect to a specific process to
interact with it (which is useful when using an interactive debugger inside the
web
process):
overmind c web