rails_mongo_backbone_bootstrap_tmpl 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/bin/rmbb_generator +2 -0
- data/lib/rails_mongo_backbone_bootstrap_tmpl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0be3c549a9e5c9142f21834d307daf7395990c60
|
|
4
|
+
data.tar.gz: 87e1a422866f4f80a694413546b216389da0ef55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 814ad6bdd87396f7028783330c1b9fa0f70ab727837806d81d99ce73170c2755ff9b42516f87c604b6b0439fb4f88cc774a64e645c5bb6ec3f9bad8a7a2ac727
|
|
7
|
+
data.tar.gz: f5636ddf4dc56f463ff921787fdf8d48856c69a8b4d3822bc30e3fea969b1671a3a81297e4cd6e9654bf2abcf1e6c94153c63717a2e06866e8d880ebf92a7bac
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
##Auto generate rails project based on [mongo](http://www.mongodb.org/), [backboneJs](http://backbonejs.org/), [bootstrap css](http://getbootstrap.com/).
|
|
1
|
+
##Auto generate professional rails project based on [mongo](http://www.mongodb.org/), [backboneJs](http://backbonejs.org/), [bootstrap css](http://getbootstrap.com/).
|
|
2
2
|
|
|
3
|
-
Let you become a professional
|
|
3
|
+
Let you become a professional rails programmer only one minute !
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ Or install it yourself as:
|
|
|
28
28
|
|
|
29
29
|
Auto create new rails app based on mongo , devise, backboneJs, bootstrap
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Start with any below sample:
|
|
32
32
|
1. To create new rails app and place it to current user home path.
|
|
33
33
|
rmbb_generator new YOUR_APP_NAME -p "~/"
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Or install it yourself as:
|
|
|
40
40
|
|
|
41
41
|
Last:
|
|
42
42
|
1. cd to new app path. (Before do this, i suggest you to create a independent gemset for this new app, then add a .rvmrc file to this app path.)
|
|
43
|
-
2. run 'bundle install' and install all gems.
|
|
43
|
+
2. run 'bundle install' and install all gems. (You can go to a cup of coffee)
|
|
44
44
|
3. run 'rails s' to start your professional rails journey.
|
|
45
45
|
|
|
46
46
|
## Contributing
|
data/bin/rmbb_generator
CHANGED
|
@@ -20,6 +20,8 @@ module RailsMongoBackboneBootstrapTmpl
|
|
|
20
20
|
app_whole_path = "#{File.expand_path(app_path,__FILE__)}/#{app_name}"
|
|
21
21
|
template_path = File.expand_path('../../template',__FILE__)
|
|
22
22
|
|
|
23
|
+
say "Your app name will be : #{app_name} , path to : #{app_whole_path} \n"
|
|
24
|
+
|
|
23
25
|
db_name = options[:db_name] || app_name.downcase
|
|
24
26
|
if Dir.exists? app_whole_path
|
|
25
27
|
result = ask "#{app_whole_path} existed ! Are you overwritten it ? [yes/no]"
|