Skip to content

Instantly share code, notes, and snippets.

View va0000ll's full-sized avatar
🎯
Focusing

mohamedvall ibrahim va0000ll

🎯
Focusing
View GitHub Profile
@va0000ll
va0000ll / rails_new_options_help.md
Created March 22, 2022 13:12 — forked from kirillshevch/rails_new_options_help.md
List of "rails new" options to generate a new Rails 6 application

Run rails new --help to view all of the options you can use to generate new Rails application:

Output for Rails 6+

Usage:
  rails new APP_PATH [options]

Options:
      [--skip-namespace], [--no-skip-namespace]              # Skip namespace (affects only isolated applications)
@va0000ll
va0000ll / rails_new_help_output.md
Created March 22, 2022 13:10 — forked from eliotsykes/rails_new_help_output.md
"rails new" options explained

Run rails new --help to view all of the options you can pass to rails new:

$ bin/rails new --help
Usage:
  rails new APP_PATH [options]

Options:
  -r, [--ruby=PATH]                                      # Path to the Ruby binary of your choice
                                                         # Default: /Users/eliot/.rbenv/versions/2.2.0/bin/ruby
@va0000ll
va0000ll / Build Android Binary.md
Created December 29, 2020 23:19 — forked from nvanselow/Build Android Binary.md
Generate Android Signed APK File for Google Play with Ionic
  1. Navigate to the project folder

  2. In the command line run ionic build android --release

  3. Then in the command line run jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore platforms/android/build/outputs/apk/android-release-unsigned.apk alias_name

    Change "my-release-key.keystore" and "alias_name" to match your app. You may also need to change the name of the apk file.

    Also, after the build process in step 2, you should see the path to your release apk at the bottom of the output.

  4. The zipalign -v 4 platforms/android/build/outputs/apk/android-release-unsigned.apk MyApp.apk

You may need to change the name of the apk file. The signed apk will be in the main folder unless you specify a different folder.