neos / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.

Home Page:https://www.neos.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Climate StyleCI Latest Stable Version License Documentation Slack Discussion Forum Issues Translation Twitter

Neos development collection

This repository is a collection of packages for the Neos content application platform (learn more on https://www.neos.io/). The repository is used for development and all pull requests should go into it.

Installation and Setup

If you want to install Neos, please have a look at the installation & setup documentation: https://docs.neos.io/guide/installation-development-setup

For (specific) documentation on Neos 9, read on below...

Contributing

If you want to contribute to Neos and want to set up a development environment, then please read the instructions in CONTRIBUTING.md

For (specific) documentation on Neos 9, read on below...

Neos 9 and the Event-Sourced Content Repository (ES CR)

Prerequisites

  • You need PHP 8.2 installed.
  • Please be sure to run off the Neos development distribution in branch 9.0, to avoid dependency issues.

Setup

Follow the usual configuration steps (as for Neos 8) to install Composer dependencies and configure the database connection in Settings.yaml Then:

  1. Run Doctrine Migrations:

    ./flow doctrine:migrate
    FLOW_CONTEXT=Testing/Postgres ./flow doctrine:migrate
  2. Setup the Content Repository

    ./flow cr:setup

Site Setup

You can chose from one of the following options:

Creating a new Site

./flow site:create neosdemo Neos.Demo Neos.Demo:Document.Homepage

Migrating an existing (Neos < 9.0) Site

# WORKAROUND: for now, you still need to create a site (which must match the root node name)
# !! in the future, you would want to import *INTO* a given site (and replace its root node)
./flow site:create neosdemo Neos.Demo Neos.Demo:Document.Homepage

# the following config points to a Neos 8.0 database (adjust to your needs), created by
# the legacy "./flow site:import Neos.Demo" command.
./flow cr:migrateLegacyData --config '{"dbal": {"dbname": "neos80"}, "resourcesPath": "/path/to/neos-8.0/Data/Persistent/Resources"}'

Importing an existing (Neos >= 9.0) Site from an Export

# import the event stream from the Neos.Demo package
./flow cr:import Packages/Sites/Neos.Demo/Resources/Private/Content

Running Neos

./flow server:run

About

The unified repository containing the Neos core packages, used for Neos development.

https://www.neos.io/

License:GNU General Public License v3.0


Languages

Language:PHP 53.2%Language:Gherkin 20.8%Language:JavaScript 18.3%Language:SCSS 4.7%Language:HTML 2.4%Language:CSS 0.4%Language:TypeScript 0.2%Language:Ruby 0.0%