-
#####Clone repo
git clone --recursive https://github.com/ushahidi/Lamu
-
#####Initialize/Update submodules
git submodule update --init --recursive
-
#####Use composer to install dependencies You can get composer here
- Open cmd and cd to the Ushahidi v3 directory
- run
composer install
This might take a while... 4. #####Create Database On phpmyadmin Open the sql editor and run
CREATE DATABASE <your-database-name>;
GRANT ALL ON <your-database-name>.* to <your-username>@localhost IDENTIFIED BY '<your-password>';
- #####Edit
database.php
- Open
application/config/database.php
- Edit it so that
hostname
,database
,username
andpassword
match those of the database you just created - Copy
application/config/database.php
toapplication/config/environments/development/database.php
- #####Initialize Database
- Open cmd
- cd to Ushahidi v3 directory
- run
php minion --task=migrations:run --up
You need to make sue php is in your PATH for this to work
- #####Edit
.htaccess
- Open
httpdocs/template.htaccess
and rename to.htaccess
- Edit
RewriteBase
to the httpdocs directory
This might not be the same for everyone
e.g. my lamu installation is at C:/xampp/htdocs/lamu
my apache is configured to serve documents in `C:/xampp/htdocs`
Therefore, my `RewriteBase` is `/lamu/httpdocs`
- #####Edit
init.php
- Open
application/config/init.php
- Edit
base_url
to match your.htaccess
RewriteBase
- Copy
application/config/init.php
toapplication/config/environments/development/init.php
- #####Open deployment http://localhost/lamu/httpdocs/
Hi there,
I am trying to install Ushahidi V3 in XAMPP. I cloned the repo, but have a question: which folder should I move to at step .3 of the procedure? Where is the cloned repo stored?
Thank you very much for your time.
Regards,
Vittorio