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