Rails Test App
Requirements:
-
Ruby/Rails versions
- ruby ~> '2.4.1'
- rails ~> '5.0.2'
-
System dependencies
- PostgreSQL
- Node.js ~> '6.0'
- Yarn
- Elasticsearch ~> '5.0'
- Redis
-
Services
- Sidekiq
-
Configuration
- You need to copy a versions of
config/*.yml.example
toconfig/*.yml
and change the values according to your system configuration - For development run
bin/webpack-dev-server
in parallel with yourrails server
- You need to copy a versions of
Deploy Tips
- Webpack
- Use
./bin/yarn install --production
to install all required npm dependencies. - Precompile packs only when something updated in
config/webpack
orapp/javascript
. - Check Webpacker documentation for further information.
- Use