= Install =
alias be='bundle exec '
alias dc='docker-compose '
Copy and edit the config file:
cp _env .env
Check out the repository and run:
bundle
Ask Victor to add your user (email) to the remote auth server. Or use [email protected]
Note: the mongodb port is 27041.
dc up -d mongo_development
dc up -d localstack_development
In the rails console ( cd test/dummy ; be rails c ):
profile = Wco::Profile.create email: '[email protected]'
inbox = Wco::Tag.create slug: 'inbox'
You need a copy of wco_models.git locally ( default location is ~/projects/ruby/wco_models )
awslocal s3api create-bucket --bucket wco-email-development
awslocal s3api create-bucket --bucket wco-email-ses-development
== Troubleshooting ==
Issue:
checking for yaml.h... no
yaml.h not found
Solution:
brew install libyaml
= Use =
Please see below for example usage commands.
cd test/dummy
be sidekiq -q wco_email_rb_mailers -q wco_email_rb_default -q wco_email_rb
docker run \
--rm -it \
-p 127.0.0.1:4566:4566 \
-p 127.0.0.1:4510-4559:4510-4559 \
-v /var/run/docker.sock:/var/run/docker.sock \
localstack/localstack