Skip to content

srividhi-026/Covid19CommunityResponse

Repository files navigation

Covid Community Response Logo

Covid19 Community Response

The Covid Community Response Team was set up in an effort to help coordinate ongoing national & local community campaigns/efforts in the fight against Covid 19.

Practical steps can be taken to harvest synergies on a national level resulting in a net benefit for communities on both a national and local level.

In practical terms, the low hanging fruit for the accrual of synergies is through standardisation of communication and the standardisations of campaigns. This is as true for any organisation as it is for us as a community.

Steps to set up local environment

  1. Assume you already have LAMP stack set up. If not follow the steps here: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

  2. Assume you have composer installed. If not go here: https://getcomposer.org/download/

  3. Assume you have node modules installed. If not go here: https://nodejs.org/en/download/

  4. Clone the repo

  5. copy .env.example to a new file called .env

  6. In your terminal navigate to the folder where you have cloned the repo and run the following:

    • php artisan key:generate
    • composer install to generate vendor folder
    • npm install to generate node_modules folder
  7. Go to .env file you created and replace the following:

    • Default APP_URL to APP_URL=http://localhost/Covid19CommunityResponse/public/
    • Change your Database name in DB_DATABASE if you want to and create a new Databse with the same name in your phpmyadmin.
    • Set your DB_USERNAME and DB_PASSWORD
  8. run php artisan migrate to migrate the tables. More information can be found here: https://laravel.com/docs/7.x/migrations

  9. To build npm run dev or npm run watch.

License

The Laravel framework is open-sourced software licensed under the MIT license.