You can check here for getting the latest version. Change the wget url to download newer versions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: | |
rails new APP_PATH [options] | |
Options: | |
-r, [--ruby=PATH] # Path to the Ruby binary of your choice | |
# Default: /home/ubuntu/.rbenv/versions/2.4.2/bin/ruby | |
-m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL) | |
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc) | |
# Default: sqlite3 | |
[--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: | |
rails server [puma, thin etc] [options] | |
Options: | |
-p, [--port=port] # Runs Rails on the specified port - defaults to 3000. | |
-b, [--binding=IP] # Binds Rails to the specified IP - defaults to 'localhost' in development and '0.0.0.0' in other environments'. | |
-c, [--config=file] # Uses a custom rackup configuration. | |
# Default: config.ru | |
-d, [--daemon], [--no-daemon] # Runs server as a Daemon. | |
-e, [--environment=name] # Specifies the environment to run this server under (development/test/production). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: rails generate GENERATOR [args] [options] | |
General options: | |
-h, [--help] # Print generator's options and usage | |
-p, [--pretend] # Run but do not make any changes | |
-f, [--force] # Overwrite files that already exist | |
-s, [--skip] # Skip files that already exist | |
-q, [--quiet] # Suppress status output | |
Please choose a generator below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "[PREVENT] --> init (wait a second)" | |
BRANCH=`git rev-parse --abbrev-ref HEAD` | |
if [ $BRANCH == master ]; then | |
echo -e "[PREVENT] --> You are not allowed to commit to master!" | |
exit 1 | |
else | |
echo -e "[PREVENT] --> Prevent commit passed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng new --help | |
arguments: | |
name | |
The name of the new workspace and initial project. | |
options: | |
--collection (-c) | |
A collection of schematics to use in generating the initial app. | |
--commit | |
Initial git repository commit information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ng serve --help | |
Builds and serves your app, rebuilding on file changes. | |
usage: ng serve <project> [options] | |
arguments: | |
project | |
The name of the project to build. Can be an app or a library. | |
options: | |
--aot |
ssh-keygen -t rsa -C "[email protected]"
git config --global user.name "misostack"
git config --global user.email "[email protected]"
OlderNewer