Skip to content

Instantly share code, notes, and snippets.

@VladRez
Created March 27, 2020 20:34
Show Gist options
  • Save VladRez/e62bfc69c88b1618f93887f19f0b217f to your computer and use it in GitHub Desktop.
Save VladRez/e62bfc69c88b1618f93887f19f0b217f to your computer and use it in GitHub Desktop.
docker run \
-it --rm --user "$(id -u):$(id -g)" \
-v "$PWD":/usr/src/app -w /usr/src/app rails \
rails new mastership -d=postgresql -T --webpack=react \
--skip-coffee --skip-bundle --skip-turbolinks --skip-spring
docker run \
-it --rm --user "$(id -u):$(id -g)" \
-v "$PWD":/usr/src/app -w /usr/src/app rails \
rails new . --api -T --skip-bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment