Skip to content

Anestiskyrke/blogsite

Repository files navigation

Very simple blogsite written with PHP Symfony framework

Create a docker container and run it by using

docker compose up -d --build

Create the database Follow the instructions at Symfony's website https://symfony.com/doc/current/doctrine.html to create a database and save the entities to the database.

docker exec -it blog-server sh -c "bin/console d:m:m"

The above command runs the migration files, creating the database.

Afterwards in your browser, go to localhost and create an account and enjoy the blogsite.

To connect to the database through an application, i.e DBeaver CE, the following image should be sufficient. The database name, username and root password in this example are located inside the file docker-compose.yml. image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published