
This source code is a fully open source blockchain exchange, including k-line functions, and also comes with Vue source code and construction and installation tutorials.
The source code has also been repaired, updated and upgraded, including functions such as member exchange of contributions. There are no screenshots built, but it has been verified that the demonstration website is running normally and there is no problem.
If you need source code for a blockchain exchange, this project is a good choice. It contains rich functions and fix updates, and also provides Vue source code and construction and installation tutorials to facilitate developers 'use and secondary development.
Installation tutorial (CentOS 7.6):
Install tower panels
Use the following command to install the pagoda panel:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
Install Nginx 1.2 and MySQL 8.0
To install Nginx 1.2 and MySQL 8.0, you can use the Pagoda Panel for installation and configuration.
Install PHP 7.2 and Redis extensions
To install PHP 7.2 and Redis extensions, you can use the Pagoda Panel for installation and configuration.
Install Supervisor
Install the Supervisor using the following command:
yum -y install supervisor
Configure Supervisor
Modify the files option in the/etc/supervisor.conf file to change it to files = /www/wwwroot/ebite/supervisor/*.conf.
Start the Supervisor with the following command:
supervisord -c /etc/supervisord.conf
Use the following command to reload the Supervisor configuration:
supervisorctl reread
supervisorctl update
configure Nginx
Add the following configuration to the Nginx configuration file for WebSocket port forwarding:
location /ws {
proxy_pass http://127.0.0.1:7272;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “Upgrade”;
proxy_set_header X-Real-IP $remote_addr;
rewrite /ws/(.*) /$1 break;
proxy_redirect off;
}
Install Laravel 5
Set the website running directory to/public, and use Laravel 5 for pseudo-static configuration.
frequently used commands
The following are some commonly used Supervisor commands:
supervisorctl status
supervisorctl stop ispec
supervisorctl start ispec
supervisorctl restart ispec
supervisorctl reread
supervisorctl update
supervisorctl reload
precautions
When using this source code, make sure you understand the relevant technology and correctly configure the relevant environment according to the installation tutorial. This source code is for learning and reference only, and should not be used for commercial purposes.