kopia lustrzana https://github.com/reiver/greatape
feat(components): ✨ add bootstrap
rodzic
7fcf6066d0
commit
d9d1c26bd5
|
@ -366,3 +366,5 @@ __debug_bin
|
||||||
.ionide
|
.ionide
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,intellij+all,goland+all,go,node,macos
|
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,intellij+all,goland+all,go,node,macos
|
||||||
|
|
||||||
|
config.yaml
|
||||||
|
|
|
@ -367,3 +367,5 @@ __debug_bin
|
||||||
.ionide
|
.ionide
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,intellij+all,goland+all,go,node,macos
|
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,intellij+all,goland+all,go,node,macos
|
||||||
|
|
||||||
|
config.yaml
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package main
|
package components
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
var configFilePath = flag.String("config", "config.yaml", "Configuration File Path")
|
var configFilePath = flag.String("config", "config.yaml", "Configuration File Path")
|
||||||
|
|
||||||
func main() {
|
func Run() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
if !core.Dockerized {
|
if !core.Dockerized {
|
||||||
runtime.GOMAXPROCS(10)
|
runtime.GOMAXPROCS(10)
|
|
@ -2,8 +2,8 @@ environment: development
|
||||||
server:
|
server:
|
||||||
protocol: http
|
protocol: http
|
||||||
fqdn: localhost
|
fqdn: localhost
|
||||||
hash_key: 'OKq2gLmDCYJXnPweKrM=l7dFCDxp5Ff5EupcQCU'
|
hash_key: '---INSERT-YOUR-HASH-KEY---'
|
||||||
block_key: 'v1K1s+S3vWudrypR'
|
block_key: '---INSERT-YOUR-BLOCK-KEY---'
|
||||||
mysql:
|
mysql:
|
||||||
database: greatape
|
database: greatape
|
||||||
username: root
|
username: root
|
|
@ -0,0 +1,7 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "github.com/reiver/greatape/components"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
components.Run()
|
||||||
|
}
|
Ładowanie…
Reference in New Issue