Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/kimhaingvan/content-management

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kimhaingvan/content-management

  • v0.0.0-20211219092437-198eeab98d92
  • Source
  • Go
  • Socket score

Version published
Created
Source

content management

Headless cms for mobile and web apps

Quick Start

  • Install Golang
  • Install Docker

Set environment variables (example)

export APPLICATION_NAME=content-management
export CONSUL_IP=10.91.120.55
export CONSUL_PORT=8500
export CONSUL_ACL_TOKEN=7caf93ca-2112-2f84-3bc9-39e812983ed1
export LOGSTASH_IP=10.90.68.35
export LOGSTASH_PORT=30204

Set consul config

  • Setup consul config file at ${CONSUL_IP}:${CONSUL_PORT}/ui (Example: "config.json")
  • {
        "application_name": "otp-api",
        "databases": {
            "postgres_db": {
                "protocol":"localhost",
                "host":"localhost",
                "port":5432,
                "username":"postgres",
                "password":"postgres",
                "database":"postgres",
                "sslmode": "disable",
                "timeout": 15,
                "max_open_conns": 0,
                "max_conn_lifetime": 0,
                "google_auth_file": ""
                }
           },
        "log": {
            "level": "info"
        },
        "zipkin": {
            "url": "http://10.90.68.35:30208"\     },
    }

Build and start

$ docker-compose up -d
$ go run main.go

You should see the following message:

HTTP server listening at :8080

To view CMS Administrator, open these URLs in browser:

FAQs

Package last updated on 19 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc