README.md in rda-0.1.0 vs README.md in rda-0.2.0
- old
+ new
@@ -78,11 +78,11 @@
This task removes the .rvmrc from your rails application.
#### Setup Nginx
```bash
-rda nginx setup
+rda nginx setup --environment production --hostname www.example.com
# Or
rake rda:nginx:setup
```
@@ -99,11 +99,11 @@
```
Please make sure that you have the write permission of the directory you choosed, or you can run:
```bash
-rvmsudo rda nginx setup
+rvmsudo rda nginx setup --environment production --hostname www.example.com
# Or
rvmsudo rake rda:nginx:setup
```
@@ -118,18 +118,18 @@
Finally, You need to start Nginx `/path/to/nginx/sbin/nginx` and then visit http://your_app_name.local.
#### Discard Nginx settings
```bash
-rda nginx discard # Or
+rda nginx discard --hostname www.example.com # Or
rake rda:nginx:discard # Or
-sudo rda nginx discard # Or
+sudo rda nginx discard --hostname www.example.com # Or
sudo rake rda:nginx:discard # Or
-rvmsudo rda nginx discard # Using RVM
+rvmsudo rda nginx discard --hostname www.example.com # Using RVM
rvmsudo rake rda:nginx:discard # Using RVM
```
This task will clean up all the things created or configured by rda:nginx:setup.