yago-cms/yago

There is no license information available for the latest version (v0.0.81) of this package.

YAGO

Maintainers

Details

github.com/yago-cms/yago

Source

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Language:JavaScript

Type:project


README

154675392-9102309f-d430-467c-86ea-7a418a7568bb.svg

YAGO Content

YAGO Content is a CMS.

Installing YAGO Content

composer create-project --prefer-dist yago-cms/yago myproject

Configure YAGO Content

Go to project directory

cd myproject

Edit .env and update the following variables:

DB_DATABASE=myproject
DB_USERNAME=myproject
DB_PASSWORD=myproject

Start the docker envirmonment

./vendor/bin/sail up -d

Clear env cache

./vendor/bin/sail artisan cache:clear

Create first migration and seed database

./vendor/bin/sail artisan migrate
./vendor/bin/sail artisan db:seed --class=CmsSeeder

Create storage link

./vendor/bin/sail artisan storage:link

Add a superuser

./vendor/bin/sail artisan tinker
$user = \App\Models\User::factory()->create([
    'name' => 'John Doe',
    'email' => 'john@doe.se',
    'password' => bcrypt('johnspassword'),
]);
$user->assignRole('writer', 'superadmin');

Develop

Install any Node dependencies

npm i

Build frontend JS & CSS

npm mix watch