You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,6 @@ Run `rails-new-app` command and follow the step by step wizard.
11
11
12
12
It will use the current default Rails version, so you should install the version you want to use, these generators are currently tested with Rails 6.
13
13
14
-
# Tests:
15
-
16
-
Run `rake test`.
17
-
18
-
### Alternative
19
-
20
-
If, for any reason, the menu navigation does not work, run `rails-new-app navigation=false`.
21
-
22
14
## Current configurations:
23
15
- Database: MySQL / PostgreSQL / SQLite
24
16
- Tests:
@@ -61,7 +53,15 @@ If, for any reason, the menu navigation does not work, run `rails-new-app naviga
61
53
- type of app: standard/minimal/api
62
54
- support other databases like MongoDB that require more config
63
55
64
-
## Adding more configurations and tools:
56
+
## For developers
57
+
58
+
### Setup:
59
+
60
+
- Clone the repo
61
+
- Run `bundle install`
62
+
- You can run the app with `./exe/rails-new-app`
63
+
64
+
### Adding more configurations and tools:
65
65
66
66
1. Add a new step at `lib/rails-new-app/steps` (or modify an existing one)
67
67
2. Collect step config in the `config` hash
@@ -73,7 +73,7 @@ If, for any reason, the menu navigation does not work, run `rails-new-app naviga
73
73
74
74
* Steps 5 and 6 are split so we can run `bundle install` once.
75
75
76
-
## Quick test for developers
76
+
###Quick scripted execution:
77
77
78
78
Since the app uses the STDIN to configure the generator, you can pipe a stream of inputs that a user would do to the command to quickly set all the desired options. For example:
0 commit comments