Cleanse this world with flame End this, cleanse this Rebuild and start again Obliterate what makes us weak
-- Hatebreed - Destroy Everything
Follow the progress on Bolt 4, at the following locations
- Github Repository: https://github.com/bolt/four
- Bolt 4 roadmap: http://bit.ly/bolt4-roadmap
- Planboard: http://bit.ly/bolt4-board (open for all, requires Github Auth)
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.
To install Bolt 4 with Docker (for now, on a UNIX-like system):
- Check out the git repo
- Then:
docker-compose up -d
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.
- 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.
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
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
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
.
Run the following commands with make
, to perform Code Style checking and
automatic fixing:
make cscheck
: Run ECS and PHPStanmake 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