Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leapt/demo
Simple Symfony project setup to test some Leapt bundles.
https://github.com/leapt/demo
Last synced: about 1 month ago
JSON representation
Simple Symfony project setup to test some Leapt bundles.
- Host: GitHub
- URL: https://github.com/leapt/demo
- Owner: leapt
- Created: 2022-04-06T10:12:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T12:05:08.000Z (6 months ago)
- Last Synced: 2024-06-26T12:51:06.550Z (6 months ago)
- Language: PHP
- Size: 790 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Demo project for Leapt bundles
==============================Simple Symfony project setup to test some Leapt bundles.
Requires PHP 8.2+ as it runs Symfony 7.1.
Currently configured:
* Data lists
* File uploads
* Paginator
* Form types
* RSS feeds
* SitemapSet up (using [Symfony CLI](https://symfony.com/download)):
```bash
# Clone project
git clone https://github.com/leapt/demo.git leapt-demo
cd leapt-demo# Install vendors
symfony composer i# Reset database
rm -f var/data.db
symfony console d:d:c --quiet
symfony console d:s:u --force --quiet
symfony console a:f:l
# Or, if you use Task:
task fixtures# Run Symfony CLI server
symfony serve -d# To stop Symfony CLI server:
symfony server:stop
```Then configure AWS config in your `.env.local` file (based on `.env` file) if you want to test S3 upload and head to the URL provided by Symfony CLI.