https://github.com/cosmo/wings
My personal helpers that give me wings for development.
https://github.com/cosmo/wings
Last synced: about 1 year ago
JSON representation
My personal helpers that give me wings for development.
- Host: GitHub
- URL: https://github.com/cosmo/wings
- Owner: Cosmo
- License: mit
- Created: 2024-08-21T18:41:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T21:52:33.000Z (almost 2 years ago)
- Last Synced: 2025-04-02T05:47:03.560Z (about 1 year ago)
- Language: Ruby
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wings
My personal helpers that give me wings for development.
## Rails Template
Rails Template to setup a new Rails project with the DevContainer
### Usage
```bash
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](#zscaler), you can use the following command:
```bash
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:
```bash
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`.
```bash
# 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
```