An open API service indexing awesome lists of open source software.

https://github.com/stats4sd/ccafs-eu-platform


https://github.com/stats4sd/ccafs-eu-platform

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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
```
6. Migrate the database: `php aritsan migrate:fresh --seed` or copy from the staging site