docker-compose up
Then, access:
localhost:3000
- app
localhost:1080
- mailcatcher
- annotate fabricators:
annotate --exclude tests,fixtures,serializers
> docker-compose exec app bash
> rspec
URL | |
---|---|
Confirmation isntructions | http://localhost:3000/rails/mailers/devise/mailer/confirmation_instructions |
In production, you don't use the webpack server. Instead, Heroku automatically detects the webpacker gem,
installs the nodejs buildpack, runs yarn install
for you and, when rails assets:precompile
runs, it will also
executes yarn run
, which will pre-compile all the assets.
So, for Heroku, you basically don't have to do anything.
You must set the Heroku API Key on CircleCI settings. You also have to register CircleCI SSH Key on Heroku.