single-file micro content management system
- Lua 93.7%
- CSS 3.1%
- JavaScript 2.6%
- Makefile 0.4%
- Dockerfile 0.2%
| .github/workflows | Update build.yml | |
| bin | readd .keep file | |
| src | update text on homepage | |
| vendor | init | |
| .env.defaults | add admin page | |
| .gitignore | add docker scripts | |
| compose.yml | sub env vars in compose file | |
| Dockerfile | change build name and add github action workflow | |
| LICENSE | Create LICENSE | |
| Makefile | update makefile to use docker compose | |
| README.md | Update README.md | |
| TODO.md | add todo | |
Bean CMS
A micro-CMS built with redbean.
Installation
There are currently two ways to run Bean CMS.
Executable
- Download the latest release from the Releases page.
- On MacOS/Linux, make
beancms.comexecutable withchmod +x beancms.com. - On Windows/MacOS/Linux, run
./beancms.com -D ./.
Note: The -D flag is required for Bean CMS to be able to serve user uploaded images from the current directory.
On some Linux systems with Wine installed you might run into issues running beancms.com. See redbean.dev/#linux.
Docker
A Docker Compose file is included in the project. Currently, Bean CMS is not on Docker Hub.
Steps to run with Docker:
git clone https://github.com/kevinfiol/beancms.git
cd beancms
docker compose up -d --build beancms
Note: Environment variables can be defined in .env. See .env.defaults for default values.
Development
System dependencies required for building:
makezip
Note: watchexec is required for make watch to work.
# download dev dependencies
make download
# run
make run
# or start service and watch for changes
make watch