website

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

website

the website of fantopia

deploy

initial deploy

git clone https://github.com/fantopia-dev/website.git

cd website

docker-compose up -d

# log
docker-compose logs -f  website

update deploy

docker-compose stop

docker-compose build website

docker-compose up -d

test api:

curl  -s -X POST -H 'Content-Type: application/json'  -d '{"email":"youngqqcn@163.com"}' http://127.0.0.1:8888/api/v1/joinwaitlist  | jq

response

{
  "code": 0,
  "msg": "ok",
  "data": "success"
}

environment

install docker and docker-compose

sudo yum update -y

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install docker-ce -y
sudo systemctl start docker
sudo systemctl enable docker


sudo wget https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 -O /usr/bin/docker-compose

sudo chmod +x /usr/bin/docker-compose

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
handler
Code generated by goctl.
Code generated by goctl.
svc
types
Code generated by goctl.
Code generated by goctl.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL