Skip to content

stats4sd/ccafs-eu-platform

Repository files navigation

CCAFS EU Platform

Tool for capturing unstructured data about actions and events and tools to link the actions with the events.

https://ccafs-eu-ifad.stats4sd.org

Development

This platform is built using Laravel/PHP. The admin panel uses Backpack for Laravel.

Setup Local Environment

  1. Clone repo: git clone git@github.com:stats4sd/ccafs-eu-platform.git
  2. Copy .env.example as a new file and call it .env
  3. Update variables in .env file to match your local environment:
    1. Check APP_URL is correct
    2. Update DB_DATABASE (name of the local MySQL database to use), DB_USERNAME (local MySQL username) and DB_PASSWORD (local MySQL password)
    3. If you need to test real email sending, update the MAIL_MAILER to mailgun, and copy over the Stats4SD Mailgun keys from 1 Password
  4. Create a local MySQL database with the same name used in the .env file
  5. Run the following setup commands in the root project folder:
composer install
php artisan key:generate
php artisan backpack:install
php artisan telescope:publish
npm install
npm run dev
  1. Migrate the database: php aritsan migrate:fresh --seed or copy from the staging site

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •