2.0 KiB
Friendica on Github
Here is how you can work on the code with us
- Install git on the system you will be developing on.
- Create your own github account.
- Fork the Friendica repository from https://github.com/friendica/friendica.git.
- Clone your fork from your Github account to your machine. Follow the instructions provided here: http://help.github.com/fork-a-repo/ to create and use your own tracking fork on github
- Commit your changes to your fork. Then go to your github page and create a "Pull request" to notify us to merge your work.
Branches
There are two branches in the main repo on Github:
- master: This branch contains stable releases only.
- develop: This branch contains the latest code. This is what you want to work with.
Important
Please pull in any changes from the project repository and merge them with your work before issuing a pull request. We reserve the right to reject any patch which results in a large number of merge conflicts. This is especially true in the case of language translations - where we may not be able to understand the subtle differences between conflicting versions.
Also - test your changes. Don't assume that a simple fix won't break something else. If possible get an experienced Friendica developer to review the code.
Vagrant
Vagrant is a virtualization solution for developers. No need to setup up a webserver etc. before actually starting. Vagrant creates a virtual machine (an Ubuntu 12.04) for you that you can just run inside VirtualBox and start to work directly on Friendica. What you need to do:
- Install VirtualBox and vagrant.
- git clone Friendica (note the Vagrantfile inside).
- Run vagrant up, have some patience.
- Run vagrant ssh to log into the virtual machine.
- It depends on the network setup of your host and virtual box guest how you reach the friendica web interface of the VM.