Skip to content

semiscone/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website

The base website template based on golang.

Environment

export POSTGRES_HOST=127.0.0.1
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=postgres

Docker Compose

Make the directory for volume first.

docker-compose up --build

Lauch Postgres Database

docker run -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres

Tencent Hub

docker build -t hub.tencentyun.com/semiscone/website .
docker login -u semiscone
docker push hub.tencentyun.com/semiscone/website

Install Google Library

mkdir -p src/github.com/golang
mkdir -p src/golang.org
git clone https://github.com/golang/sys.git
git clone https://github.com/golang/net.git
git clone https://github.com/golang/text.git
git clone https://github.com/golang/lint.git
git clone https://github.com/golang/tools.git
git clone https://github.com/golang/crypto.git
ln -s src/github.com/golang/ src/golang.org/x

About

A basic website template based on Gin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published