Installing the Anahita Embryo code From the Master Branch - kulbakin/anahita GitHub Wiki
The master branch of Anahita always contains the most recent Anahita embryo release. It is the code that powers GetAnahita.com website and it is constantly changing. Once we reach a milestone, we tag a copy of the Embryo code and call it a Birth release.
You need to have a LAMP server with Git and Composer installed on them. The following tutorial has been done on OSX 10.9 and MAMP installed. This is how you can install Composer.
curl -s http://getcomposer.org/installer | php
Now clone Anahita repository from the master branch:
git clone [email protected]:anahitasocial/anahita.git yourproject
Now change directory
cd yourproject
Now run the composer command to obtain all the 3rd party libraries that Anahita requires:
composer update
the following command creates a symlink to the anahita command line tool:
ln -s bin/anahita anahita
to test whether the command line tools is working properly, type to following command. It should give you the list of available commands:
php anahita list
now you need to initiate your Anahita installation. Follow the instructions after typing the following command:
php anahita site:init
Now you need to create a new account on your Anahita installation. Point your browser to ~/Sites/Anahita/www/people/session and create a new account. The first account is the super admin.
Now let’s install some apps. Using the following command you can get the list of available apps and components:
php anahita package:list
To install the apps groups topics photos pages todos:
php anahita package:install groups topics photos pages todos
Your installation is ready. To get updates you can just do:
git pull
and just to be sure that the database updates are applied do:
php anahita db:migrate:up