Skip to content

librarianphp/librarian-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Librarian

Librarian is a stateless CMS based on static files. It uses the same format as DEV.to for markdown files with a front matter and liquid tags for custom functionality.

Docker Setup

The setup included in this repository can be used with Docker + Docker Compose to create a local development environment powered by containers.

How to Use It

You can download the files in this repository and save them in the root folder of your Librarian application. You may or may not want to include the files in version control - it can be helpful if other people will be working on your project.

Once the files are in place, you can get the environment up and running with:

docker-compose up -d

This will run the containers in background.

To execute commands such as composer install, run:

docker-compose exec app composer install

Running NPM:

docker-compose exec app npm install

Compiling css assets:

docker-compose exec app npm run dev

Stopping the environment:

docker-compose stop

Re-starting the environment:

docker-compose start

Destroying the environment:

docker-compose down

About

A Docker-powered development environment for running Librarian.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published