Jarek Jakubowski bc8ddfacc0 fix conflict
2019-01-21 22:55:32 +01:00
2018-10-23 21:30:21 +02:00
2019-01-18 14:56:15 +01:00
2019-01-04 15:46:01 +01:00
2019-01-04 16:45:27 +01:00
2019-01-16 15:34:08 +01:00
2019-01-21 22:55:32 +01:00
2019-01-20 15:28:14 +01:00
2019-01-14 11:52:36 +01:00
2019-01-14 15:46:10 +01:00
2018-11-10 12:40:10 +01:00
2018-09-10 21:32:54 +02:00
2019-01-17 15:55:38 +01:00
2018-11-16 22:48:46 +01:00
2019-01-18 12:17:59 +01:00
2019-01-16 12:58:40 +01:00
2019-01-18 20:52:03 +01:00
2018-09-29 08:58:44 +02:00
2019-01-02 15:13:01 +01:00
2019-01-16 13:59:58 +01:00
2018-11-13 13:34:18 +01:00
2019-01-02 17:17:49 +01:00
2019-01-21 09:49:05 +01:00
2018-11-06 20:07:02 +01:00
2019-01-16 12:58:40 +01:00
2019-01-09 10:55:22 +01:00

Bolt 4.0.0 prototype

Cleanse this world with flame End this, cleanse this Rebuild and start again Obliterate what makes us weak

-- Hatebreed - Destroy Everything

Progress towards alpha / beta

Follow the progress on Bolt 4, at the following locations

Install

To install Bolt 4 (for now):

  • Check out the git repo
  • Then:
composer install
npm install && npm run build

Alternatively, run make install, on a UNIX-like system.

It's on the roadmap for Beta 1 to provide a composer create-project install.

Use with Docker

To install Bolt 4 with Docker (for now, on a UNIX-like system):

  • Check out the git repo
  • Then:
make docker-install
make docker-db-create

Actually, just add docker- prefix to any Make command and that's it!

In your browser, go to http://0.0.0.0:8088/ for the frontend, and to http://0.0.0.0:8088/bolt for the Admin Panel.

Set up Database

  • Configure the database connection in .env. Or stick with the default SQLite. It ought to work out of the box.
  • Then:
bin/console doctrine:database:create
bin/console doctrine:schema:create
bin/console doctrine:fixtures:load -n

Alternatively, run make db-create, on a UNIX-like system.

Re-set the Database

This is a prototype in flux. Shit will break, and you might want to reset it to the "factory settings". To Re-set a database to the latest, with fresh dummy-content use this:

bin/console doctrine:schema:drop --force
bin/console doctrine:schema:create
bin/console doctrine:fixtures:load -n

Alternatively, run make db-reset, on a UNIX-like system.

Run the prototype

  • Run bin/console server:start

In your browser, go to http://127.0.0.1:8000/ for the frontend, and to http://127.0.0.1:8000/bolt for the Admin Panel.

You can log on, using the default user & pass:

  • user: admin
  • pass: admin%1

Build assets

To set up initially, run npm install to get the required dependencies / node_modules. Then:

  • Run npm run serve

See the other options by running npm run.

Code Style / Static Analysis

Run the following commands with make, to perform Code Style checking and automatic fixing:

  • make cscheck: Run ECS and PHPStan
  • make csfix: Run ECS, perform automatic fixes and run PHPStan

On windows, you can run the commands separately:

vendor/bin/ecs.bat check src
vendor/bin/ecs.bat check src --fix
vendor/bin/phpstan.bat analyse -c phpstan.neon src

Testing

Bolt uses several testing frameworks for different test layers:

  • unit: PHPSpec, PHPUnit, Jest
  • integration (of Symfony services): PHPUnit with KernelTestCase
  • functional (API Contracts): Behat
  • acceptance (UI, end-to-end): Kakunin

To run PHP unit tests:

make test

To run JS unit tests:

npm test

To run E2E tests:

make e2e
Description
No description provided
Readme MIT 57 MiB
Languages
PHP 63.2%
Twig 15.2%
Vue 8.5%
JavaScript 7.9%
SCSS 3.7%
Other 1.4%