Skip to content

palchik1985/thinkphptestapp

Repository files navigation

thinkphp framework 3.2.5 version and the simple project

Instruction (currently works only for the linux/Ubuntu):

start the docker container:

(php version - 7.1.33, nginx newest version, composer)

  • $ apt install docker.io docker-compose
  • $ cd ./docker
  • $ docker-compose up -d --build
  • // database sql file you can find at ./docker folder
  • // nginx site confix at ./docker/nginx_php/thinkphp.conf
  • // php and nginx configurations at ./docker/nginx_php/
  • // database will be created at ./docker/database/db_file

you can go to the nginx_php container with a command:

  • $ docker exec -it docker_nginx_php_1 /bin/sh

start the site in browser:

  • $ sudo nano /etc/hosts
  • // add to file the site.local address
  • go to the browser with link: http://site.local/Admin

About

the test task with the thinkphp - the old Chinese framework. I tried to start that with the nginx and new PHP version and wrote the simple app for investigation of the framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors