Volunteering atyouseeforit services

26,263 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
26,263
On SlideShare
0
From Embeds
0
Number of Embeds
24,019
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Volunteering atyouseeforit services

  1. 1. Volunteering to Develop IT solutions for Social Causes Web Application Programming in Open Source Technologies
  2. 2. What is in this Presentation Get ready to be a Yousee Technology Support Volunteer  How to install and learn PHP/MYSQL  How to use GITHub to collaboratively develop software.
  3. 3. Overview  At YouSee we currently support development of Web Applications for S  Any OS can be used to develop applications, there is no preference.  Apache is the preferred Web Server MySQL is the preferred DBMS  PHPMyAdmin is the preferred SQL Administration Tool PHP is the preferred Language  Any editor can be used to type the source code (OS Specific)  GIT is the preferred Version Control System
  4. 4. Using Windows as the OS When using Windows as the OS WAMP Server should insta WAMP Server is a free open source GPL server and can be d Apache is included in WAMP Server MySQL is included in WAMP Server PHP is included in WAMP Server  PHPMyAdmin is included in WAMP Server
  5. 5. Using Windows as the OS WAMP Server shows up as an icon once you have installed i You can right-click on this icon to start and stop the server. The server folder is called “wamp” and you can choose its loc Any web application in development can be put as a folder un
  6. 6. Using Windows as the OS PHPMyAdmin is installed automatically with WAMP Server It is a PHP/MYSQL application and at the time of WAMP Server installation th Once WAMP is installed, start it (by right-clicking the icon on your shortcuts m Type http://localhost/PhpMyAdmin on the url bar of your browser and PHPMyA  Once you login the tool is quite intuitive to perform various SQL functions inclu  Notepad++ is a fine editor for coding PHP programs because it can parse PH
  7. 7. Using Linux as the OS On Linux PHP, MySQL and Apache have to be installed separately. Usually PHP and Apache are already installed in many Linux distributio Apache On Fedora/CentOS - yum install httpd  Apache On Red Hat - up2date httpd  Apache On Debian (Ubuntu, Mint) – apt-get install apache2   Command to Start Apache Service – httpd start or apache2 start  
  8. 8. Using Linux as the OS PHP is usually installed in most linux distributions. The way to find out if it is already installed is to create a file called phpve   Open the file in browser by typing “http://localhost/phpversion.php” You should get a page display telling what version of PHP is installed.   If PHP is not installed on your system please contact one of the YouSee
  9. 9. Using Linux as the OS MySQL is usually installed in most linux distributions. The way to find out if it is already installed is to run the command “mysql --vers  In most linux installations MySql automatically starts when the system boots. T  If MySQL is not installed on your system please contact one of the YouSee vo  For PhpMyAdmin installation a PDF file will be sent to you that is to use. A You  Editors to code PHP programs are again dependent on the linux distribution so
  10. 10. Using GIT and GITHUB GIT is an open source version control and configuration management system t  You are encouraged to read about GIT and GITHUB. Here are a few suggeste  If you are on Windows install GITHUB Client (http://windows.github.com/)  On Linux, install GIT using the following URL as reference http://git-scm.com/b 
  11. 11. Using GIT and GITHUB Go to www.github.com and create a user profile for yourself.  Fork the repository of the Project you have been assigned (the repository URL will be provided b Add UCDS (a user in GITHUB and the administrator for all YouSee Repositories) as a collaborat If you are on Windows you can clone the repository using the GIT Client that you installed. You c  If you are on linux you can use the clone command to make a copy of the repository on your ma  Example of clone command – git clone https://github.com/youseevolunteer/youseelibrary.gitIn th
  12. 12. Using GIT and GITHUB Once you have made code changes and tested your changes on the local host you are ready to co On Windows committing your changes is a one step process using the GIT Client. Basically you ha On Linux follow these steps to do push your changes from your local repository to your GITHUB rep Execute the add command – git add -u. This command adds all the modified files in your repository Execute the commit command – git commit -m 'commit message'. This command records the snap Execute the push command – git push https://github.com/YouSeeVolunteer/repositoryname.git This command pushes commit changes from the local repository to GITHUB repository. It needs Int The administrator (GITHUB account UCDS) will log into GITHUB and merge your changes to the m

×