bolt / standard-project
This package is abandoned and no longer maintained.
The author suggests using the bolt/project package instead.
Bolt 4 standard project skeleton
1.0.9
2019-09-13 12:19 UTC
Requires
- bobdenotter/weatherwidget: ^1.0
- bolt/assets: ^4.0@beta
- bolt/core: ^4.0
- bolt/newswidget: ^1.0
- bolt/themes: ^3.0
- symfony/flex: ^1.2
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^3.1
- symfony/debug-bundle: ^4.3
- symfony/dotenv: ^4.3
- symfony/maker-bundle: ^1.11
- symfony/stopwatch: ^4.3
- symfony/web-profiler-bundle: ^4.3
- symfony/web-server-bundle: ^4.3
Conflicts
README
Set up a new Bolt 4 project, using the following command, replacing project
with your desired project's name.
composer create-project bolt/project myprojectname
Navigate into the newly created folder, and configure the database in .env
:
# SQLite
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/bolt.sqlite
# MySQL
DATABASE_URL=mysql://root:"root%1"@127.0.0.1:3306/four
Then, set up the database, create the first user and add fixtures:
bin/console bolt:setup
Run Bolt using the built-in webserver, Symfony CLI, Docker or your own preferred webserver:
bin/console server:start
or…
symfony server:start -d symfony open:local
or…
make docker-install
Finally, open the new installation in a browser. If you've used one of the commands above, you'll find the frontpage at http://127.0.0.1:8000/ The Bolt admin panel can be found at http://127.0.0.1:8000/bolt
Log in using the credentials you created when setting up the first user.