Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christophberger/sulu-bundle
https://github.com/christophberger/sulu-bundle
Last synced: about 15 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/christophberger/sulu-bundle
- Owner: christophberger
- Created: 2024-02-12T15:16:47.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-06-18T07:24:50.000Z (5 months ago)
- Last Synced: 2024-06-18T08:40:46.966Z (5 months ago)
- Language: PHP
- Size: 78.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sulu - Demo Website
This is the official **Sulu Demo**. It was created to show a simple implementation of an application made
with Sulu and explains the basic steps.This project also runs here: [https://sulu.rocks](https://sulu.rocks)
For information about Sulu have a look at our Homepage:
[http://sulu.io/](http://sulu.io/)Our documentation is available under:
[http://docs.sulu.io/](http://docs.sulu.io/)
## Used Extensions
### [SuluArticleBundle](https://github.com/sulu/SuluArticleBundle)
The SuluArticleBundle adds support for managing articles in Sulu. Articles can be used in a lot of different ways to manage unstructured data with an own URL in an admin-list.
Most of the features, which can be used in pages, can also be used on articles - like templates, versioning, drafting, publishing and automation.### [SuluAutomationBundle](https://github.com/sulu/SuluAutomationBundle)
The SuluAutomationBundle provides a way to manages future tasks which can be scheduled for entities in the Sulu-Admin. For example schedule the publishing of a page to a specific datetime in the future.
To enable automated tasks use the command ``task:run`` manually in the terminal or in a cronjob. This tasks executes the
pending automation tasks (see [SuluAutomationBundle Installation Docs](https://github.com/sulu/SuluAutomationBundle/blob/master/Resources/doc/installation.md)).### [SuluWebTwig](https://github.com/sulu/web-twig) and [SuluWebJS](https://github.com/sulu/web-js)
A collection of helpful twig extensions and a tiny js component mangaement library.
## Requirements
* PHP 8.0
- json extension
- xml extension
- simplexml extension
- gd or imagick extension (needed for image converts)
* MySQL or PostgreSQL Server
* Elasticsearch 7
* Composer
* NPM if you want to run npm tasks## Installation
```bash
git clone [email protected]:sulu/sulu-demo.git
cd sulu-demo
composer install
```### Configure required services
The demo requires a running **MySQL** and **ElasticSearch** instance.
Configure your `DATABASE_URL` and `ELASTICSEARCH_HOST` in the `.env.local` see `.env` as reference.
If you don't want to install the services yourself you can use the provided [docker-compose.yml](https://docs.docker.com/compose/install/)
to start this services inside an own container:```bash
docker-compose up
```### Install fixtures
Install the demo with all fixtures by running:
```bash
bin/console sulu:build dev
```## Usage
Now you can try out our demo, there is no need to configure a virtual host. Just use the build in web servers:
```bash
php -S 127.0.0.1:8000 -t public config/router.php
```Then you can access the administration interface via [http://127.0.0.1:8000/admin](http://127.0.0.1:8000/admin). The default user and password is “admin”.
The web frontend can be found under [http://127.0.0.1:8000](http://127.0.0.1:8000).
## Tests
```bash
composer bootstrap-test-environment
composer lint
composer test
```## Questions? We have answers!
We've got a [#Slack](https://sulu.io/community#chat) channel where you can talk directly to strategists, developers and designers.