2017 © Pedro Peláez
 

project sulu-demo

The sulu content management framework demo

image

sulu/sulu-demo

The sulu content management framework demo

  • Thursday, July 19, 2018
  • by wachterjohannes
  • Repository
  • 7 Watchers
  • 22 Stars
  • 497 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 17 Open issues
  • 6 Versions
  • 27 % Grown

The README.md

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., (*1)

This project also runs here: https://sulu.rocks, (*2)

For information about Sulu have a look at our Homepage: http://sulu.io/, (*3)

Our documentation is available under: http://docs.sulu.io/, (*4)

br/, (*5)

Sulu Demo Slideshow , (*6)

br/, (*7)

Used Extensions

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., (*8)

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., (*9)

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)., (*10)

SuluWebTwig and SuluWebJS

A collection of helpful twig extensions and a tiny js component mangaement library., (*11)

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

git clone git@github.com:sulu/sulu-demo.git
cd sulu-demo
composer install

Configure required services

The demo requires a running MySQL and ElasticSearch instance., (*12)

Configure your DATABASE_URL and ELASTICSEARCH_HOST in the .env.local see .env as reference., (*13)

If you don't want to install the services yourself you can use the provided docker-compose.yml to start this services inside an own container:, (*14)

docker-compose up

Install fixtures

Install the demo with all fixtures by running:, (*15)

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:, (*16)

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. The default user and password is “admin”., (*17)

The web frontend can be found under http://127.0.0.1:8000., (*18)

Tests

composer bootstrap-test-environment
composer lint
composer test

Questions? We have answers!

We've got a #Slack channel where you can talk directly to strategists, developers and designers., (*19)

The Versions