A simple & solid programming stack.
The only thing you need to have installed is Docker.
If you type docker run hello-world
and see a welcome message,
you're good to go.
After you have cloned this repo, run this setup script to set up your machine with the necessary dependencies to run and test this app:
% ./bin/setup
After setting up, you can run the application using docker-compose:
% ./bin/docker-compose up
To make working with this application a bit easier, we recommend adding a few lines to your shell configuration.
# Save your fingers a lot of trouble while working with Docker
alias dc='docker-compose'
alias dcrun='dc run --rm'
alias drun='docker run --rm -it'
alias dvrun='drun -v $(pwd):/app --workdir /app $argv
alias b='dcrun web bundle lock && dc build'
Use the following guides for getting things done, programming well, and programming in style.
If you have previously run the ./bin/setup
script,
you can deploy to staging and production with:
$ ./bin/deploy staging
$ ./bin/deploy production