- ruby 2.5.0
- rails 5.1
- yarn (brew install yarn)
- postgres
- redis (brew install redis)
- database.yml_template umbenennen auf database.yml
bundle install
rails db:create
rails db:migrate
rails db:seed
yarn install
rails s
redis-server
(start server)bundle exec sidekiq
(start sidekiq server)- Don't forget to run Postgres
EsLint
yarn lint
(config => eslintrc.js)
Jest
yarn test
(config => package.json)
SSL_CERT_FILE (Rails)
https://gist.github.com/fnichol/867550
https://superdevresources.com/ssl-error-ruby-gems-windows/
RAILS ENV
https://gorails.com/setup/windows/10
PRISTINE (GEM) https://www.justinweiss.com/articles/3-quick-gem-tricks/
DOKKU-CLI
https://github.com/dokku/dokku
https://github.com/SebastianSzturo/dokku-cli
dokku runs rails db:migrate
dokku ps # List processes running in app container(s)
dokku ps:rebuild # Rebuild the app
dokku ps:restart # Restart the app container
dokku ps:start # Start the app container
dokku ps:stop # Stop the app container
ssh://[email protected]:5412/undercover