runlocal 0.0.1.pre
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 +7 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +9 -0
- data/lib/runlocal/version.rb +5 -0
- data/lib/runlocal.rb +8 -0
- data/sig/runlocal.rbs +4 -0
- metadata +53 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2abeb889425f2edf3f4147e160af792e2ee252d1c786e9292670d2148d6de023
|
|
4
|
+
data.tar.gz: 27dff18be9b060801fce05550ad228c4947cb3f108622d63cb524341db7f8783
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 79e8a5d9f95277022214b987d8166b8222ebc2787a2727f8c7f453e43b42f38efc0af73c12ae67396277111ed331b25331fb5da46f44f8c467176332fe8dffaf
|
|
7
|
+
data.tar.gz: 911d150e39b7e6f07361c66e1b0ce9f9c455c4e77eeaa270ba5fe50d9bf168f8a3c3981dc11cade714b13e8ebdb8f123939678508342afbb0405747bc5233cd5
|
data/CHANGELOG.md
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Gabriel Mazzetto
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Runlocal
|
|
2
|
+
|
|
3
|
+
Runlocal lets you build a devkit for running your application locally.
|
|
4
|
+
|
|
5
|
+
## Vision
|
|
6
|
+
|
|
7
|
+
To run a Rails application locally, a developer does many manual steps: install
|
|
8
|
+
the correct Ruby, start Postgres and Redis, copy environment files, run
|
|
9
|
+
migrations, then keep several processes alive by hand. Each machine drifts.
|
|
10
|
+
A new developer needs a day to start.
|
|
11
|
+
|
|
12
|
+
Runlocal replaces those steps with one dependency and one command. You add the
|
|
13
|
+
gem and run `runlocal`. It installs the services the application needs, writes
|
|
14
|
+
the configuration, and manages the processes that make up the running stack.
|
|
15
|
+
|
|
16
|
+
Everything ships inside the gem. Nothing is copied into the repository, so
|
|
17
|
+
`bundle update` upgrades the local environment and the host application stays
|
|
18
|
+
clean.
|
|
19
|
+
|
|
20
|
+
Runlocal is made for applications that already exist. You can add it to a large
|
|
21
|
+
codebase with no change to its structure.
|
|
22
|
+
|
|
23
|
+
## Modes
|
|
24
|
+
|
|
25
|
+
**Bundled mode.** The runlocal definitions live in a `local/` folder inside the
|
|
26
|
+
project. Every commit carries a working environment.
|
|
27
|
+
|
|
28
|
+
**Workspace mode.** A parent folder holds the environment, and the projects are
|
|
29
|
+
checked out inside it. A workspace can hold anything from a set of microservices
|
|
30
|
+
to a Majestic Monolith, or a Citadel: a Majestic Monolith with a few supporting
|
|
31
|
+
services.
|
|
32
|
+
|
|
33
|
+
## Services
|
|
34
|
+
|
|
35
|
+
The main Rails application runs locally. Each supporting service, such as Redis
|
|
36
|
+
or Postgres, runs either locally or inside a container. You choose per service.
|
|
37
|
+
|
|
38
|
+
## Status
|
|
39
|
+
|
|
40
|
+
Early development. The command is not built yet.
|
|
41
|
+
|
|
42
|
+
## License
|
|
43
|
+
|
|
44
|
+
Runlocal is open source under the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/lib/runlocal.rb
ADDED
data/sig/runlocal.rbs
ADDED
metadata
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: runlocal
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1.pre
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gabriel Mazzetto
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Runlocal is a CLI that builds a local development environment for an
|
|
13
|
+
existing Rails application. It installs the services the app needs, writes the configuration,
|
|
14
|
+
and manages the processes of the running stack.
|
|
15
|
+
email:
|
|
16
|
+
- brodock@gmail.com
|
|
17
|
+
executables: []
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- CHANGELOG.md
|
|
22
|
+
- LICENSE.txt
|
|
23
|
+
- README.md
|
|
24
|
+
- Rakefile
|
|
25
|
+
- lib/runlocal.rb
|
|
26
|
+
- lib/runlocal/version.rb
|
|
27
|
+
- sig/runlocal.rbs
|
|
28
|
+
homepage: https://github.com/brodock/runlocal
|
|
29
|
+
licenses:
|
|
30
|
+
- MIT
|
|
31
|
+
metadata:
|
|
32
|
+
allowed_push_host: https://rubygems.org
|
|
33
|
+
homepage_uri: https://github.com/brodock/runlocal
|
|
34
|
+
source_code_uri: https://github.com/brodock/runlocal
|
|
35
|
+
rubygems_mfa_required: 'true'
|
|
36
|
+
rdoc_options: []
|
|
37
|
+
require_paths:
|
|
38
|
+
- lib
|
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 4.0.0
|
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0'
|
|
49
|
+
requirements: []
|
|
50
|
+
rubygems_version: 4.0.20
|
|
51
|
+
specification_version: 4
|
|
52
|
+
summary: Build a devkit for running your application locally.
|
|
53
|
+
test_files: []
|