A single platform to deliver your application continuously on AWS.
We're using
asdf
to manage the language runtime versions anddocker-compose
to run datastore for local development.
$ make bootstrap
- Ensure
~/.bash_profile
has the snippet below:
. $(brew --prefix asdf)/asdf.sh
. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash
export GOROOT=$(go env GOROOT)
export GOPATH=$(go env GOPATH)
export PATH="/usr/local/sbin:$GOPATH/bin:$PATH"
alias gr="go run ."
The command alias
gr
is optional which will save us from typinggo run .
command. In addition, please runsource ~/.bash_profile
in each terminal to ensure the scripts take effect.
// Install backend/frontend project dependencies
$ make install
// Run dc:up/db:create/db:schema:load/db:seed to setup the datastore with seed data
$ go run . setup
// Setup the locally trusted SSL certificates (optional)
$ go run . ssl:setup
// Run the golang backend/frontend server and worker for local development
$ go run . start