josmiguel92 / project

๐Ÿš€ Repo to `composer create project` a Bolt Four project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bolt 4 standard project skeleton

With the release of Bolt 4 stable, there will be a number of ways to install the application. For now, we recommend the composer create-project as the fastest way to get an installation of Bolt up and running.

Set up a new Bolt 4 project, using the following command, replacing myprojectname with your desired project's name.

composer create-project bolt/project myprojectname

Navigate into the newly created folder, and configure the database in .env. You can skip this step, if you'd like to use SQLite.

# SQLite
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/bolt.sqlite

# MySQL
DATABASE_URL=mysql://root:"root%1"@127.0.0.1:3306/four

Set up the database, create the first user and add fixtures (dummy content):

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.

Contributing

If you'd like to contribute, please check Bolt's core repository and read the "Contributing to Bolt" documentation page.

About

๐Ÿš€ Repo to `composer create project` a Bolt Four project.

License:MIT License


Languages

Language:PHP 43.7%Language:Makefile 32.6%Language:Dockerfile 20.6%Language:Shell 3.0%