Code Monkey home page Code Monkey logo

master's Introduction

You can click the header to watch the demo

  • Install docker https://www.docker.com/get-started/
  • Make sure these port are available 80, 81 and 3307
  • install git [optional]
  • install framework [optional]
  • install mysql cli [optional]
  • run command below
mkdir -p /var/www/html/master
cd /var/www/html/master
git clone https://github.com/esoftplay/master.git ./
docker-compose up -d
mysql -u root --password='root' --port 3307 -h 127.0.0.1 -e 'DROP DATABASE IF EXISTS master'
mysql -u root --password='root' --port 3307 -h 127.0.0.1 -e 'CREATE DATABASE IF NOT EXISTS master'
mysql -u root --password='root' --port 3307 -h 127.0.0.1 master < database.sql
curl -s -X POST -F 'code='$(date|md5) http://localhost:81/tools/repair/change_salt > /dev/null
  • run command below
cd /var/www/html/master
docker-compose up -d
  • run master or edit docker-compose.yaml to unmark sql service
  • create new folder and cd into this folder
  • run command below
docker run -it -v $(pwd):/home/sites esoftplay/start
docker-compose up -d
mysql -u root --password='root' --port 3307 -h 127.0.0.1 -e 'DROP DATABASE IF EXISTS new_project'
mysql -u root --password='root' --port 3307 -h 127.0.0.1 -e 'CREATE DATABASE IF NOT EXISTS new_project'
mysql -u root --password='root' --port 3307 -h 127.0.0.1 new_project < database.sql
curl -s -X POST -F 'code='$(date|md5) http://localhost/tools/repair/change_salt > /dev/null
  • CD into the project folder
  • run docker-compose up -d
  • open url http://localhost/
  • edit the script if necessary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.