Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enhavo/enhavo-demo
Enhavo demo
https://github.com/enhavo/enhavo-demo
cms enhavo symfony
Last synced: 4 days ago
JSON representation
Enhavo demo
- Host: GitHub
- URL: https://github.com/enhavo/enhavo-demo
- Owner: enhavo
- Created: 2020-10-10T15:57:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T08:35:44.000Z (8 months ago)
- Last Synced: 2024-05-23T09:40:03.548Z (8 months ago)
- Topics: cms, enhavo, symfony
- Language: PHP
- Homepage: https://enhavo.com
- Size: 13.4 MB
- Stars: 1
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![alt text](enhavo.svg "enhavo")
The enhavo CMS is a open source PHP project on top of the fullstack Symfony framework and uses awesome Sylius components to serve a very flexible software, that can handle most of complex data structure with a clean and usability interface.
Demo
----This is a enhavo demo project.
Use email **[email protected]** with password **admin** to log in into the backend under **/admin**
Install
-------```
$ composer install
$ yarn install
```Create a `.env.local` file and add following line with your database credentials
```
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7
```If your database doesn't exist yet, you can create it by following command
```
$ bin/console doctrine:database:create
```Then execute this commands to get ready
```
$ yarn routes:dump
$ yarn encore dev
$ bin/console doctrine:migrations:migrate
$ bin/console doctrine:fixtures:load
$ bin/console enhavo:init
```Now you can start the server
```
$ bin/console server:run
```You should see a result that the server started already. Use the link to see if it works!
Use docker
----------If you want to start the demo with docker you can use the `docker-compose.yml` file
```yaml
version: '3.3'services:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: demo
web:
depends_on:
- db
image: enhavo/enhavo-demo:latest
ports:
- "8080:80"
environment:
DATABASE_URL: mysql://root:root@db:3306/demo?serverVersion=5.7```