Skip to content
/ embrails Public template

This is an opinionated template repository used for creating modern web applications at ParableSoft.

License

Notifications You must be signed in to change notification settings

parablesoft/embrails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmbRails - A Modern Stack Template

Test

Rails + GraphQL + Ember.

This is an opinionated template repository used for creating modern web applications at ParableSoft.

Feel free to open up a pull request with any suggestions for improvement.

Prerequisites

You will need the following things properly installed on your computer.

Getting Started

You can use this template to create a new GitHub repository here.

To clone this repository:

  • git clone https://github.com/parablesoft/embrails.git this repository
  • cd embrails
  • bin/development/setup

We don't include gems and node modules as part of docker-compose development build process. Instead, we prefer to utilize volumes to store gems and node_modules so that we can cache dependencies between build if we need to modify our Gemfile or package.json.

Running / Development

Testing

  • bin/test/full
  • To run RSpec docker-compose run
  • To run rubocop docker-compose run api bundle exec rubocop --require rubocop-rails.
  • To run ember test server docker-compose run --service-ports web ember test -s and view the testem dashboard at http://localhost:7357.

Quality of Life

Typing out docker-compose each time can get old quick, we like to bind that to the command dc. Add an alias in your .bashrc file:

echo "alias dc=\"docker-compose\"" >> ~/.bashrc
source ~/.bashrc

You can now use dc in place of anywhere you see docker-compose above.

Deploying

Specify what it takes to deploy your app.

About

This is an opinionated template repository used for creating modern web applications at ParableSoft.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published