ushahidi / platform

Ushahidi Platform API version 3+
http://ushahidi.com
Other
668 stars 504 forks source link

Test our documentation for installation of Development with XAMPP #3662

Closed Angamanga closed 2 weeks ago

Angamanga commented 4 years ago

Intro πŸ“–

We are continuously working with our documentation to provide a good and smooth experience when setting up the platform. In this ticket, we are asking for help to improve our documentation for installation of development environment with XAMPP.

Task ✏️

Thank you for your time and help πŸŽ‰ πŸ™ πŸ™‡β€β™€

Aha! Link: https://ushahiditeam.aha.io/features/PROD-189

muchirijane commented 3 years ago

Hey @Angamanga, could I please work on this as part of my outreachy contribution?

Angamanga commented 3 years ago

Thank you @muchirijane! Please go ahead :)

muchirijane commented 3 years ago

Thanks πŸ’― Hey @Angamanga, should I write my feedback as I create the PR, or I should take another step to create a .txt file.

SaraLatif99 commented 3 years ago

Hi, Can I take this as part of Outreachy 2020 and hacktober first 2020 contributions?

Angamanga commented 3 years ago

@muchirijane You can write your suggestions here as a comment :)

Angamanga commented 3 years ago

@SaraLatif99 Yes, please go ahead :)

muchirijane commented 3 years ago

@Angamanga, I did a pull request an hour ago. Didn't know it was to be a comment. Oops. https://github.com/ushahidi/platform/pull/4092 Let me copy the information here.

muchirijane commented 3 years ago

The installation was done on windows and here are my suggestions and some parts that were a bit confusing.

composer migrate

php artisan environment:verify Running OAuth key checks Good job! Your OAuth keys are in the right place. We will check the environment file next. Running ENV configuration checks DB_PASSWORD is missing in the environment or .env file. Please set the password to connect to your database in the DB_PASSWORD key Running DB connectivity verification We were able to connect to the DB. Well done!

In EnvironmentVerify.php line 84: Verification Failed. Script PHP artisan environment: verify handling the verify event returned with error code 1 Script @verify was called via migrate

SaraLatif99 commented 3 years ago

Thanks @Angamanga

codedladiesinnovate commented 3 years ago

@Angamanga please can I do this as part of my outreachy contribution?

UdokaVrede commented 3 years ago

Hi you are using an organization account to make this request, please recheck

On Sun, Oct 11, 2020 at 4:11 AM Coded Ladies Innovate Tech < notifications@github.com> wrote:

@Angamanga https://github.com/Angamanga please can I do this as part of my outreachy contribution?

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ushahidi/platform/issues/3662#issuecomment-706642876, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFTMSHRM5NB3PNPAWY346TSKEO47ANCNFSM4IMG76YA .

amadikwajoyn commented 3 years ago

Sorry @Angamanga I forgot to logout of the organization mail. I'm Amadikwa Joy N, can I work on it

codedladiesinnovate commented 3 years ago

Sorry @Angamanga It was a mistake. I was meant to use Amadikwa Joy N.

Angamanga commented 3 years ago

@treasurechristain No problem! Please go ahead :)

Sunairaa commented 3 years ago

Hey @Angamanga can I work on it as an outreachy contribution? I followed the whole tutorial and found some improvements need to be done in the documentation but in the end, I did some fixes too again not able to run the code. so I have to choose a vagrant option which is working perfectly on my side. can I suggest some editing in it.?

amadikwajoyn commented 3 years ago

doc_break_link I think the above link is not correct because its taking me to empty page. @Angamanga could the link below be the actual link? https://docs.ushahidi.com/platform-developer-documentation/development-and-code/setup_alternatives/xampp

if yes, let me continue with the work

amadikwajoyn commented 3 years ago

Under Setting up the Platform API with XAMPP Go to http://localhost and verify that you see the XAMPP welcome page. should be Open your browser and type http://localhost

Apache and MySql not starting do

apache_config

port80to8080

In a Situation Where MySQL is not Working, do the following: -

UNDER Configuring The API

Then changed the memory limit of xampp phpini file editphpinisize

Inside the composer.json I add "nesbot/carbon": "2.41.0 as 1.39.0", and "kylekatarnls/laravel-carbon-2": "^1.0.0" composerenviroment

On the xampp shell, inside the project file location , I ran composer require nesbot/carbon:^1.24.1 workedcomposer

Still on the CMD shell, I ran composer update composerupdate

Still on the CMD shell, I ran _**composer install composerinstallnew

FROM Configure the platform/httpdocs/.htaccess file I didn.t see any .htaccess rather I saw template.htaccess

And there is no .htaccess inside platform/.htaccess

Suggestion: The Instructions at Setting up the Platform client is not that clear because it's not at the beginners level to understand it easily. And I suggest that some of the instructions will easily be understood with symbols or images for illustration.

I must say, the video is awesome and straight forward. but making a video that covers the instructions on how to configure the platform/.htaccess .

Thanks.

amadikwajoyn commented 3 years ago

@Angamanga This is what I came up with after going through https://github.com/ushahidi/platform/issues/3662 Hope it's helpful enough.

Angamanga commented 3 years ago

@treasurechristain Thank you for your contribution πŸ™