Squareblog is a web blogging platform.
Install this by running cloning this repository and install like you normally install Laravel.
- Run
composer install
andnpm install yarn
- Run
yarn
andyarn run dev
to generate assets - Copy
.env.example
to.env
and fill your values (php artisan key:generate
)
EXTERNAL_BLOG_POST_API='api json endpoint that returns blog posts'
TELESCOPE_ENABLED=true
REDIS_CLIENT=predis
SYSTEM_GENERATED_ADMIN_USER=
- Run
php artisan migrate
, this will seed a user based on yourBASIC_AUTH
.env
values - Run
php artisan db:seed
, this will seed a user(user@email.com) with posts. - Start your queue listener and setup the Laravel scheduler.
- Open app in browser
user@email.com / password
System generated admin user: admin@email.com (or email set in SYSTEM_GENERATED_ADMIN_USER) / password
You can run the tests with:
vendor/bin/phpunit
The MIT License (MIT). Please see License File for more information.