souls 0.23.6 → 0.23.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -11
- data/exe/souls +7 -6
- data/lib/souls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ef86159c8d1ad6c8801122b80b58937274879225668865f5c21da4654e4a076
|
4
|
+
data.tar.gz: 33f24d59216616940228f0c8409e6d99341a0066c21c43905045a7b456ae0cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eedc0abbc08ce885f149ef755c4ad8e6ec961921a0e3cf84cb825b04fadf2ad2979a2d6c6d2a47472b43d5fad7b10ff3d36d29e0574f3a0c91a374a20cd7689
|
7
|
+
data.tar.gz: 869475fd3569b722a1c8ef87fe77fe27425c80225ff4e4deab18d550d0ff0c16f860d2054c31dc790dd01298adc4b4214b68d77668be22ca526f1e9447fa2f02
|
data/README.md
CHANGED
@@ -21,29 +21,38 @@
|
|
21
21
|
|
22
22
|
Welcome to SOULs Framework!
|
23
23
|
|
24
|
-
SOULs is a Serverless Application Framework.
|
25
|
-
|
24
|
+
SOULs is a Serverless Application Framework.
|
25
|
+
SOULs has six strains, API, Worker, Console, Admin, Media, Doc, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud.
|
26
|
+
You can focus on your business logic. No more infra problems.
|
26
27
|
|
27
|
-
SOULs creates
|
28
|
+
SOULs creates 6 types of framework.
|
28
29
|
|
29
30
|
1. API - GraphQL (Ruby) - Simple API - Cloud Run
|
30
31
|
2. Worker - Google Pub/Sub Worker API (Ruby) - Cloud Run
|
31
|
-
3.
|
32
|
+
3. Console Web Client - User Console and CMS (TypeScript)
|
32
33
|
4. Admin Web Client - Admin Console and CMS (TypeScript)
|
34
|
+
5. Media Web Client - Media web client with SSG (TypeScript)
|
35
|
+
6. Doc Web Client - Doc web client with SSG (TypeScript)
|
33
36
|
|
34
37
|
## Dependency
|
35
38
|
|
36
39
|
- [Google SDK](https://cloud.google.com/sdk/docs)
|
37
40
|
- [Docker](https://www.docker.com/)
|
38
41
|
- [Firebase CLI](https://firebase.google.com/docs/cli)
|
42
|
+
- [Ruby](https://www.ruby-lang.org)
|
39
43
|
|
40
44
|
## Cloud Infrastructure
|
41
45
|
|
42
|
-
- [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine)
|
43
|
-
- [Google Traffic Director](https://cloud.google.com/traffic-director)
|
44
46
|
- [Google Cloud Run](https://cloud.google.com/run)
|
47
|
+
- [Google Cloud SQL](https://cloud.google.com/sql)
|
48
|
+
- [Google Cloud Pub/Sub](https://cloud.google.com/pubsub)
|
49
|
+
- [Google Cloud Storage](https://cloud.google.com/run)
|
50
|
+
- [Google Cloud IAM](https://cloud.google.com/iam)
|
51
|
+
- [Google Cloud DNS](https://cloud.google.com/dns)
|
52
|
+
- [Google Cloud Container Registry](https://cloud.google.com/container-registry)
|
45
53
|
- [Google Firebase](https://firebase.google.com/)
|
46
54
|
- [Google Cloud Scheduler](https://cloud.google.com/scheduler)
|
55
|
+
- [Github Actions](https://github.com/features/actions)
|
47
56
|
|
48
57
|
## Installation
|
49
58
|
|
@@ -67,10 +76,13 @@ And Create Your APP
|
|
67
76
|
|
68
77
|
### Choose SOULs Type:
|
69
78
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
79
|
+
Select Strain:
|
80
|
+
1. SOULs GraphQL API
|
81
|
+
2. SOULs Worker
|
82
|
+
3. SOULs Console Web
|
83
|
+
4. SOULs Admin Web
|
84
|
+
5. SOULs Media Web
|
85
|
+
6. SOULs Doc Web
|
74
86
|
|
75
87
|
|
76
88
|
## SOULs Document
|
@@ -81,7 +93,7 @@ And Create Your APP
|
|
81
93
|
|
82
94
|
## Development
|
83
95
|
|
84
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `
|
96
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `souls t` to run the tests. You can also run `souls c` for an interactive prompt that will allow you to experiment.
|
85
97
|
|
86
98
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org/gems/souls).
|
87
99
|
|
data/exe/souls
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
souls_command = ARGV[0]
|
10
10
|
case souls_command
|
11
11
|
when "new"
|
12
|
-
STRAINS = %w[api worker console admin media].freeze
|
12
|
+
STRAINS = %w[api worker console admin media doc].freeze
|
13
13
|
app_name = ARGV[1]
|
14
14
|
if app_name.nil?
|
15
15
|
puts(Paint["you need to specify your app name", :red])
|
@@ -17,14 +17,15 @@ begin
|
|
17
17
|
exit
|
18
18
|
end
|
19
19
|
first_message = Paint % [
|
20
|
-
"Select Strain: %{red_text} %{yellow_text} %{green_text} %{blue_text} %{cyan_text}",
|
20
|
+
"Select Strain: %{red_text} %{yellow_text} %{green_text} %{blue_text} %{cyan_text} %{magenda_text}",
|
21
21
|
:white,
|
22
22
|
{
|
23
23
|
red_text: ["\n1. SOULs GraphQL API", :red],
|
24
|
-
yellow_text: ["\n2. SOULs Worker", :yellow],
|
24
|
+
yellow_text: ["\n2. SOULs Pub/Sub Worker", :yellow],
|
25
25
|
green_text: ["\n3. SOULs Console Web", :green],
|
26
26
|
blue_text: ["\n4. SOULs Admin Web", :blue],
|
27
|
-
cyan_text: ["\n5. SOULs Media Web", :cyan]
|
27
|
+
cyan_text: ["\n5. SOULs Media Web", :cyan],
|
28
|
+
magenda_text: ["\n6. SOULs Doc Web", :magenda]
|
28
29
|
}
|
29
30
|
]
|
30
31
|
puts(first_message)
|
@@ -39,7 +40,7 @@ begin
|
|
39
40
|
when "s", "server"
|
40
41
|
strain = Souls.configuration.strain
|
41
42
|
case strain
|
42
|
-
when "media", "admin", "console"
|
43
|
+
when "media", "admin", "console", "doc"
|
43
44
|
system("yarn dev")
|
44
45
|
when "worker"
|
45
46
|
system("bundle exec puma -p 3000 -e development")
|
@@ -49,7 +50,7 @@ begin
|
|
49
50
|
when "c", "console"
|
50
51
|
strain = Souls.configuration.strain
|
51
52
|
case strain
|
52
|
-
when "media", "admin"
|
53
|
+
when "media", "admin", "console", "doc"
|
53
54
|
system("yarn dev")
|
54
55
|
else
|
55
56
|
rack_env = ARGV[1]
|
data/lib/souls/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-07-
|
13
|
+
date: 2021-07-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: paint
|