Preparation
git clone https://github.com/rubykube/peatio-trading-ui.git
first get the clone, after clone is done
cd peatio-trading-ui
make sure you checkout latest stable branch, and also you need to have same branch name
which you used for peatio
git checkout 1-8-stable
before making bundle install, make sure you are using ruby -v2.5.0
ruby -v
if it does not return 2.5.0p0 .. then you need to use rvm to change the ruby version
/bin/bash --login
rvm use 2.5.0
after making sure you are using correct ruby version.
do
bundle install
after installation of gems is complete
bundle exec rake tmp:clear log:clear
bundle exec rake assets:precompile
and finally start the server
bundle exec rails server -p 4000
make sure its running on port 4000, after that create a server record in nginx configuration file.
and you are ready to go.