Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomshaw/electricgrid-demo
https://github.com/tomshaw/electricgrid-demo
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomshaw/electricgrid-demo
- Owner: tomshaw
- Created: 2024-02-14T19:43:40.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-03-12T16:56:28.000Z (8 months ago)
- Last Synced: 2024-04-14T04:44:28.777Z (7 months ago)
- Language: PHP
- Size: 7.77 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Electric Grid Demonstration Application
This repository serves as a demonstration of [Electric Grid](https://github.com/tomshaw/electricgrid) showcasing how it can be used to generate datatables. It comes with a comprehensive set of database migrations, factories, and seeders that set up a demo online store.
### Setup Instructions
Before running the seeder make sure to update your `.env` file with the following settings.
> Refer to the `UserTableSeeder` to understand how these values are used.
```env
DB_SEED_NAME="Full Stack Developer"
DB_SEED_EMAIL="[email protected]"
DB_SEED_PASSWORD=""
```Next you can use the provided factories and seeders to populate the database.
```bash
php artisan db:seed
```This will give you a ready-to-use environment for testing.
### Contributing
Run the following command before running composer install if you wish to have a `local repository clone` to make pull requests.
> Note: Refer to the bottom of the composer file to understand how this works.
```bash
git clone [email protected]:tomshaw/electricgrid.git packages/electricgrid
```