Commit 764a9007 authored by Brian Dukes's avatar Brian Dukes
Browse files

updated readme

parent e9002911
......@@ -24,17 +24,26 @@ This is a tool for local development. This will allow you to sync projects from
Line 4: set your email to generate ssh key (should be gitlab email)
Line 5: set your computer name (this comes after the @ in the terminal, for instance mine shows bdukes@DESKTOP-U526Q6KQ so my computer name is DESKTOP-U526Q6KQ)
Line 6: set your server root folder from step 1
9. copy ssh key output and paste it into into gitlab ssh keys so composer works
10. type exit and close out of bash
11. Start Menu-> "Bash" Right click on file and click on "Open file Location". right click on the file in the folder and click on properties.
9. run sudo sh setup.sh and wait for the magic to hopefully happen
-while doing this you will have to answer some prompts, answer so that it lets it do what it wants to do when it asks. Also set root mysql password to "root".
10. copy ssh key output and paste it into into gitlab ssh keys so composer works
11. type exit and close out of bash
12. Start Menu-> "Bash" Right click on file and click on "Open file Location". right click on the file in the folder and click on properties.
Under Shortcut Tab -> Target enter "C:\Windows\System32\bash.exe -c ~/autostart.sh ~" (without the quotes)
Under Shortcut Tab -> click on Advanced button and check the box for run as administrator
This will make the bash file on your computer auto start apache/mysql when you open it and force it to open as administrator (so you dont have to right click on it each time)
### Common Problems ###
I had an issue when testing this on a virtual box install (could have been from being on that) where composer update wouldnt work on the ops project. If you get errors when viewing ops.dev try going to the ops folder and running composer update again. This was giving me content-length errors however after running it 2-3 times it started working.
Having issues getting composer to work. If it doesnt install then you will need to manually install composer.
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
*Sometimes you have to run that command multiple times for it to work. Run it until you see Composer Successfully Installed
Then go into the ops dir and run composer update (again may have to run it a few times for it to work).
### Who do I talk to? ###
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment