Skip to content
/ wings Public

My personal helpers that give me wings for development.

License

Notifications You must be signed in to change notification settings

Cosmo/wings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wings

My personal helpers that give me wings for development.

Rails Template

Rails Template to setup a new Rails project with the DevContainer

Usage

rails new myapp --css tailwind --asset-pipeline propshaft --database postgresql --devcontainer --template "https://raw.githubusercontent.com/Cosmo/wings/main/starterkit.rb"

If you have to deal with a Zscaler proxy, you can use the following command:

rails new myapp --css tailwind --asset-pipeline propshaft --database postgresql --devcontainer --template "https://raw.githubusercontent.com/Cosmo/wings/main/starterkit.rb" --zscaler

If you want everything to be installed, you can use the following command:

rails new myapp --css tailwind --asset-pipeline propshaft --database postgresql --devcontainer --template "https://raw.githubusercontent.com/Cosmo/wings/main/starterkit.rb" --zscaler --default-gems --add-vscode-extensions --add-vscode-launch

Zscaler

Add this to your .zshrc or .bashrc.

# Create the directory if it doesn't exist
mkdir -p ~/.development

# Export the Zscaler Root CA certificate if it doesn't exist
if [ ! -f ~/.development/Zscaler_Root_CA.crt ]; then
  echo "Exporting Zscaler Root CA certificate..."
  security find-certificate -c "Zscaler Root CA" -p > ~/.development/Zscaler_Root_CA.crt
fi

# Export the Zscaler Root CA certificate to NODE_EXTRA_CA_CERTS
export NODE_EXTRA_CA_CERTS=~/.development/Zscaler_Root_CA.crt

About

My personal helpers that give me wings for development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages