|
@@ -13,7 +13,7 @@ def add_template_repository_to_source_path
|
|
at_exit { FileUtils.remove_entry(tempdir) }
|
|
at_exit { FileUtils.remove_entry(tempdir) }
|
|
git clone: [
|
|
git clone: [
|
|
"--quiet",
|
|
"--quiet",
|
|
- "https://github.com/excid3/jumpstart.git",
|
|
|
|
|
|
+ "http://gogs.anxgang.com/Hiskio/jumpstart.git",
|
|
tempdir
|
|
tempdir
|
|
].map(&:shellescape).join(" ")
|
|
].map(&:shellescape).join(" ")
|
|
|
|
|
|
@@ -82,9 +82,6 @@ def add_users
|
|
/ # config.secret_key = .+/,
|
|
/ # config.secret_key = .+/,
|
|
" config.secret_key = Rails.application.credentials.secret_key_base"
|
|
" config.secret_key = Rails.application.credentials.secret_key_base"
|
|
end
|
|
end
|
|
-
|
|
|
|
- # Add Devise masqueradable to users
|
|
|
|
- inject_into_file("app/models/user.rb", "omniauthable, :masqueradable, :", after: "devise :")
|
|
|
|
end
|
|
end
|
|
|
|
|
|
def add_bootstrap
|
|
def add_bootstrap
|
|
@@ -171,7 +168,7 @@ after_bundle do
|
|
add_bootstrap
|
|
add_bootstrap
|
|
add_sidekiq
|
|
add_sidekiq
|
|
add_procodile
|
|
add_procodile
|
|
- add_webpack
|
|
|
|
|
|
+ # add_webpack
|
|
add_multiple_authentication
|
|
add_multiple_authentication
|
|
|
|
|
|
copy_templates
|
|
copy_templates
|