Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
/ boltcms.io Public archive
forked from bolt/boltcms.io

Source files for the Boltcms.io website

License

Notifications You must be signed in to change notification settings

peterboorsma/boltcms.io

 
 

Repository files navigation

Bolt 4 standard project skeleton

Welcome! This is a Bolt 4 project, set up using composer create-project. If you are the developer of this project, you can modify this README to the specifics of your project. Below are the general instructions to set up a new project, based off the same skeleton.

Note: If you're updating from an earlier beta, read UPDATE.md for details.


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.

About

Source files for the Boltcms.io website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 47.3%
  • Twig 25.4%
  • CSS 10.7%
  • SCSS 4.7%
  • PHP 4.4%
  • Makefile 4.3%
  • Other 3.2%