goDCE

module
v0.0.0-...-90ad8ca Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT

README

Go(Golang)版 数字货币交易所

                       _______    ______   ________ 
                      |       \  /      \ |        \
    ______    ______  | $$$$$$$\|  $$$$$$\| $$$$$$$$
   /      \  /      \ | $$  | $$| $$   \$$| $$__    
  |  $$$$$$\|  $$$$$$\| $$  | $$| $$      | $$  \   
  | $$  | $$| $$  | $$| $$  | $$| $$   __ | $$$$$   
  | $$__| $$| $$__/ $$| $$__/ $$| $$__/  \| $$_____ 
   \$$    $$ \$$    $$| $$    $$ \$$    $$| $$     \
   _\$$$$$$$  \$$$$$$  \$$$$$$$   \$$$$$$  \$$$$$$$$
  |  \__| $$                                        
   \$$    $$                                        
    \$$$$$$                                         
                                                                       

Dependencies

  • MySql
  • RabbitMQ
  • Redis

Install Golang

wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz

sudo tar zxvf go1.13.linux-amd64.tar.gz -C /usr/local

vim ~/.bashrc
添加
export GOROOT=/usr/local/go
export PATH=$PATH:$GOPATH:/usr/local/go/bin

source ~/.bashrc

获取代码

git clone https://github.com/oldfritter/goDCE

单独启动api

cd goDCE
go run api/api.go // 此时将自动安装依赖

导入前端代码

将前端代码导入goDCE/public/assets目录下即可

编译

./build.sh

启动

./start.sh

停止

./stop.sh

重启

./restart.sh

Jump to

Keyboard shortcuts

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