Skip to content

esoftplay/master

Repository files navigation

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

About

master framework to start building any project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •