stable-cli-rails 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -2
- metadata +10 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bafe8b35c7bcdb9e006bb397cc8886bada3aa2a4c5d8b3fa1a9adb1b58acbeb7
|
|
4
|
+
data.tar.gz: 2588434d05a99499fbda818602bf90014f0c9371c775d59d7e3094a376faab32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 121b37effd9a47901bd867be859899ef4c27aa12e03493480232848abd3bca22bad06d09752603ce8d07723a2e434484457084f9691696c9c2c4316d52409269
|
|
7
|
+
data.tar.gz: 6369c0e52982569c20516bea53c13dc04bd0c2ddf1893de486358dc3cb2a2c914fd3d60416b79ab1916cf6e1024a1de9d56a03eeefce0b3e2ab4508079324fcd
|
data/README.md
CHANGED
|
@@ -24,10 +24,15 @@ cd stable-rails
|
|
|
24
24
|
bundle install
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
### As a gem
|
|
27
|
+
### As a gem from Rubygems registry
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
gem install stable
|
|
30
|
+
gem install stable-cli-rails
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Or add it to your Gemfile
|
|
34
|
+
```bash
|
|
35
|
+
gem "stable-cli-rails"
|
|
31
36
|
```
|
|
32
37
|
|
|
33
38
|
## Setup
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stable-cli-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Simfukwe
|
|
@@ -44,13 +44,15 @@ description: "# Stable CLI (macOS)\n\nStable is a CLI tool to manage local Rails
|
|
|
44
44
|
`/etc/hosts` for `.test` domains.\n- Start Rails apps with integrated Caddy reverse
|
|
45
45
|
proxy.\n- Reload Caddy after adding/removing apps.\n- List all registered apps.\n\n##
|
|
46
46
|
Installation\n\n### From source\n\n```bash\n# Clone the repository\ngit clone git@github.com:dannysimfukwe/stable-rails.git\ncd
|
|
47
|
-
stable-rails\n\n# Install dependencies\nbundle install\n```\n\n### As a gem
|
|
48
|
-
install stable\n```\n\n
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
for Caddy configuration. \n
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
stable-rails\n\n# Install dependencies\nbundle install\n```\n\n### As a gem from
|
|
48
|
+
Rubygems registry\n\n```bash\ngem install stable-cli-rails\n```\n\n### Or add it
|
|
49
|
+
to your Gemfile\n```bash\ngem \"stable-cli-rails\" \n```\n\n## Setup\n\nInitialize
|
|
50
|
+
Caddy home and required directories:\n\n```bash\nstable setup\n```\n\nThis will
|
|
51
|
+
create: \n- `~/StableCaddy/` for Caddy configuration. \n- `~/StableCaddy/certs`
|
|
52
|
+
for generated certificates. \n- `~/StableCaddy/Caddyfile` for Caddy configuration.
|
|
53
|
+
\ \n\n## CLI Commands\n\n### List apps\n\n```bash\nstable list\n```\n\nLists all
|
|
54
|
+
registered apps and their domains.\n\n### Add a Rails app\n\n```bash\nstable add
|
|
55
|
+
/path/to/rails_app\n```\n\nThis will: \n- Register the app. \n- Add a `/etc/hosts`
|
|
54
56
|
entry. \n- Generate local trusted HTTPS certificates. \n- Add a Caddy reverse
|
|
55
57
|
proxy block. \n- Reload Caddy.\n\n### Remove a Rails app\n\n```bash\nstable remove
|
|
56
58
|
app_name\n```\n\nThis will: \n- Remove the app from registry. \n- Remove `/etc/hosts`
|