Created
January 7, 2021 23:00
-
-
Save hailelagi/0b7e0b8d5b73ca71e57748a719a41bdb to your computer and use it in GitHub Desktop.
ruby generators reminder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lean generator (add --api flag to skip javascript) | |
# TODO: configured with graphiql for dev mode in --api mode? | |
rails new web-app-name --database="postgresql" --skip-action-mailer --skip-action-mailbox --skip-action-text --skip-active-storage --skip-action-cable --skip | |
-javascript --skip-webpack-install | |
# (full app with react + postgres ) | |
rails new rails-react-graphql -T -d=postgresql --webpack=react |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment