init

writing for the programer who want init the code 1.sql 2.redis 3.code 4.api first: buidl nginx+php+mysql conf for nginx: server { listen 80; server_name fxy.com; root "D:/jack/code/sdp-php/sdpbase/www"; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php(.*)$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; include fastcgi_params; } } second: redis you can use the redis on the service of 123.60.4.47 3.mysql (source of mysql file) here is a file of sql ,you can use 5.71 mysql init your mysql db for your local enviroment the location of your code is: code\sdp-php\sdpbase\sql\base_9.5.0.sql this is the information for testing: #sql 123.60.4.47 3306 root fxy~112233 #redis 123.60.4.47 6379 pp123456!@ #code git clone git@123.60.4.47:Hlyun123/sdp-php.git git clone git@123.60.4.47:Hlyun123/sdpv2.git add ssh id_public.key first into your account gitlab: http://123.60.4.47:8099 #configuration_files 1.config main.php code\sdp-php\sdpbase\protected\config\main.php 2.your website entry code\sdp-php\sdpbase\www\index.php