本文介绍了如何克隆git PHP脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是php和github的新手,我想克隆这个项目 [],但是不知道如何设置数据库,因为没有给定的数据库上传,任何帮助都意味着很多!



我尝试了什么:



我尝试了一切,当你克隆一个git并输入localhost / conffesions_script /时,它会引导你进入install.php页面,它会要求你放置数据库主机,用户,密码和主机,我在phpmyadmin中创建并输入,但它显示错误,那么安装此脚本的正确方法是什么?

Im new to php and github, I want to clone this project GitHub - RomaniukVadim/confessions_script: Confessions PHP Script is Anonymous Social network. People can fess up their darkest and deepest secrets anonymously. Script is using BootStrap 4 and it's responsive.[^] , but dont know how to set up datebase, since theres no given database to upload, any help will mean a lot!

What I have tried:

I tried everything, when you clone a git and type localhost/conffesions_script/, it leads you to install.php page, where it asks you to put DB Host, User, Password and Host, which I created in phpmyadmin and typed in, but it shows errors, so whats the right way to install this script?

推荐答案

#this command will copy the master branch
git clone _copied_url

# this command will copy a targeted branch
git clone _copied_url -b target-branch





在安装说明区,它清楚地说明了要做什么。那样做。



In the Installation instruction area, it clearly says what to do. Do that.


这篇关于如何克隆git PHP脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 12:38