Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: ericbelldesigns on June 07, 2015, 11:54:39 AM

Title: Installing with git?
Post by: ericbelldesigns on June 07, 2015, 11:54:39 AM
Hi guys,

I am a graphic and web designer, and was a C# Developer. I have a client wishing to install your forum software on their domain. I make my changes through git, and my changes are published on their domain. I am hoping to install this on theirdomain.com /forum. Before I get started, does any body see any issues with what I am attempting, or any suggestions that will help me with the install? I believe I could get FTP access if I absolutely have to, so should I just ask my client for that instead of working through git? Any advice is greatly appreciated! I'm sure I will be back with more questions.
Title: Re: Installing with git?
Post by: margarett on June 07, 2015, 07:26:21 PM
It depends on what you are doing but I believe that it should be fine for the most part. Just be careful if you perform database changes or that modify paths. It it's just code you're changing, it should not be a problem ;)
Title: Re: Installing with git?
Post by: ericbelldesigns on June 08, 2015, 03:37:51 PM
Thank you for your reply! I have installed the forum successfully, but am having a minor issue due to a stupid mistake on my part. I did not allow the automatic removal of install.php, and I do not see it in my directory. I get this:

MAJOR SECURITY RISK:
You have not removed install.php!

I'm not sure how I can do this since I do not see it in my directory.
Title: Re: Installing with git?
Post by: JBlaze on June 08, 2015, 03:41:57 PM
This is where having an FTP client comes in handy. Or use PuTTy if you know how to use the command line.
Title: Re: Installing with git?
Post by: ericbelldesigns on June 08, 2015, 03:44:40 PM
I am asking my client to delete the file from their end. Once the file is removed, I should be ok, correct?
Title: Re: Installing with git?
Post by: margarett on June 08, 2015, 04:32:14 PM
Yup :)
Title: Re: Installing with git?
Post by: ericbelldesigns on June 08, 2015, 05:01:35 PM
The client instructed me to use terminal to delete the file. Problem is, I can't find the install.php file. I pulled down the entire directory from git to make sure the files were the latest, and I do not find an install.php. I still get the security risk message on the forum.
Title: Re: Installing with git?
Post by: margarett on June 08, 2015, 05:30:20 PM
I'm not trying to be funny but unless you are using some kind of cache, the warning is there if the file is there. So are you sure you are looking in the right place?
Title: Re: Installing with git?
Post by: Illori on June 08, 2015, 05:31:22 PM
if you go to the forum url/install.php does the install pop up? if so the file is still there.
Title: Re: Installing with git?
Post by: ericbelldesigns on June 08, 2015, 07:14:54 PM
It does still show up, but I can not find it in my git directory. I guess this is more related to my lack of git knowledge than being forum related :/
Title: Re: Installing with git?
Post by: ericbelldesigns on June 08, 2015, 07:21:09 PM
These are the files in the /forum directory:

Packages         attachments         install_2-0_sqlite.sql
SSI.php            avatars            license.txt
Settings.php         cache            news_readme.html
Settings_bak.php      changelog.txt         readme_install.html
Smileys            favicon.ico         ssi_examples.php
Sources            index.php         ssi_examples.shtml
Themes            install_2-0_mysql.sql      subscriptions.php
agreement.txt         install_2-0_postgresql.sql

I do not have an install.php, but yet it still shows up on the server even after clearing the cache.
Title: Re: Installing with git?
Post by: Dragooon on June 09, 2015, 04:25:36 AM
Are you sure it's not being ignored by git?
Title: Re: Installing with git?
Post by: ericbelldesigns on June 09, 2015, 11:27:35 AM
I am 100% NOT sure if git is ignoring it. I will look into that now. Thank you for your suggestion.