https://github.com/stats4sd/ccafs-eu-platform
https://github.com/stats4sd/ccafs-eu-platform
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stats4sd/ccafs-eu-platform
- Owner: stats4sd
- License: gpl-3.0
- Created: 2020-11-02T18:23:37.000Z (over 5 years ago)
- Default Branch: dev
- Last Pushed: 2025-03-19T12:17:09.000Z (over 1 year ago)
- Last Synced: 2025-08-05T16:07:03.069Z (11 months ago)
- Language: PHP
- Size: 29.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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