mkbrut 0.1.0 → 0.1.2
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/lib/mkbrut/ops/append_to_file.rb +4 -1
- data/lib/mkbrut/version.rb +1 -1
- data/package.json +11 -0
- metadata +2 -2
- data/README.md +0 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c6550f995938f5dcd836ee41834c0e29535d287c8a5ae3bd073bda2e480b5c
|
4
|
+
data.tar.gz: 7d0c2fde91e439edde97f336d58677a3e7469bd34643064dd3412a19dee81f23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5692425f5099500e822d0df24f94731996625ec763dc4b33e6a8787a740df08ba996bffdc1b8657e717a72bdf6235fa7475fdc351a602145bc0fe91d0b6c178c
|
7
|
+
data.tar.gz: cc2c1b62033c24bf1839881085f85ea40577e8f7d92b3e87f620d3a4e8f3321350eb5ecdde2cf3f5d3ba965c58ab802c21060b08262aec84b6f023f0bea1f483
|
data/lib/mkbrut/version.rb
CHANGED
data/package.json
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"name": "mkbrut",
|
3
|
+
"version": "1.0.0-irrelevant",
|
4
|
+
"description": "`mkbrut` is how you go from zero to having a Brut app where you can start working.",
|
5
|
+
"author": "Irrelevant",
|
6
|
+
"license": "Irrelevant",
|
7
|
+
"devDependencies": {
|
8
|
+
"brut-css": "^0.0.1",
|
9
|
+
"brut-js": "^0.0.21"
|
10
|
+
}
|
11
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkbrut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Copeland
|
@@ -46,7 +46,6 @@ executables:
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
-
- README.md
|
50
49
|
- exe/mkbrut
|
51
50
|
- lib/mkbrut.rb
|
52
51
|
- lib/mkbrut/app.rb
|
@@ -80,6 +79,7 @@ files:
|
|
80
79
|
- lib/mkbrut/segments/sidekiq.rb
|
81
80
|
- lib/mkbrut/version.rb
|
82
81
|
- lib/mkbrut/versions.rb
|
82
|
+
- package.json
|
83
83
|
- templates/Base/Dockerfile.dx
|
84
84
|
- templates/Base/Gemfile.erb
|
85
85
|
- templates/Base/Procfile.development
|
data/README.md
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
# mkbrut - Create a new Brut App
|
2
|
-
|
3
|
-
`mkbrut` is how you go from zero to having a Brut app where you can start working.
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
TBD
|
8
|
-
|
9
|
-
## Usage
|
10
|
-
|
11
|
-
```
|
12
|
-
mkbrut my-new-app
|
13
|
-
```
|
14
|
-
|
15
|
-
This will create a new Brut app, including a development environment. The app will
|
16
|
-
have some demo features to show you around the framework.
|
17
|
-
|
18
|
-
To get a bare bones new app, use `--no-demo`:
|
19
|
-
|
20
|
-
```
|
21
|
-
mkbrut my-new-app --no-demo
|
22
|
-
```
|
23
|
-
|
24
|
-
You can also customize some aspects of your app once start to have an opinion about
|
25
|
-
it:
|
26
|
-
|
27
|
-
|
28
|
-
```
|
29
|
-
mkbrut --app-id=new-app \
|
30
|
-
--organization=cyberdyne \
|
31
|
-
--prefix=ap \
|
32
|
-
my-new-app
|
33
|
-
```
|
34
|
-
|
35
|
-
* `--app-id` The identifier for your app, suitable for use as a hostname or other internet-safe identifier.
|
36
|
-
* `--organization` This is your organization name you might use on GitHub, DockerHub, or WhateverHub.
|
37
|
-
* `--prefix` The two-character prefix for all external IDs of your database tables that opt into external IDs as well as any autonomous custom elements you might make
|
38
|
-
|
39
|
-
## Developing
|
40
|
-
|
41
|
-
`mkbrut` has a Docker-based dev environment:
|
42
|
-
|
43
|
-
1. Install Docker
|
44
|
-
2. `dx/build`
|
45
|
-
3. `dx/start`
|
46
|
-
4. Open a new terminal:
|
47
|
-
1. `dx/exec bash`
|
48
|
-
2. You are now inside a running Docker container:
|
49
|
-
1. `bin/setup`
|
50
|
-
2. `bundle exec exe/mkbrut -h`
|
51
|
-
|