Leantime is a strategic open source project management system for innovative companies and teams looking to go from start to finish. Built for the non-project manager, we combine the plans and the work while making it easy for everyone on the team to use.
It's an alternative to ClickUp, Notion, and Asana. As simple as Trello but as feature-rich as Jira.
https://leantime.io
There are two main ways to install LeanTime for production. The first of which is to install all needed pieces of the system locally. The second is to use the officially supported Docker image.
public/
directoryconfig/.env.sample
to config/.env
config/.env
<yourdomain.com>/install
We maintain an official Docker image on dockerhub. To run the image enter your MySQL credentials and execute. You can pass in all the configuration variables from .env
docker run -d --restart unless-stopped -p 80:80 --network leantime-net \
-e LEAN_DB_HOST=mysql_leantime \
-e LEAN_DB_USER=admin \
-e LEAN_DB_PASSWORD=321.qwerty \
-e LEAN_DB_DATABASE=leantime \
-e [email protected] \
--name leantime leantime/leantime:latest
You can set any of the config variables in config/configuration.php
when running the docker command.
Once started you can go to <yourdomain.com>/install
and run the installation script.
There are two ways to install a development setup of LeanTime. The first (but most technical) is to install all pieces of the system locally. The second (and preferred method) is to use a docker containerized development environment.
composer install
then
npm install
to load Javascript dependencies and finally run the grunt task to create the compiled js files
./node_modules/grunt/bin/grunt Build-All
public/
directoryconfig/configuration.sample.php
to config/configuration.php
config/configuration.php
<localdomain>/install
For development, we use a dockerized development environment. You will need to have docker
, docker compose
, make
, composer
, git
and npm
installed.
;extension=gd
and removing the semicolon.In order to build the development docker image, in the root of this repository, run a primer with
make clean build
afterwards, run
make run-dev
this will start the development server on port 8080.
The dev environment provides a MySQL server, mail server, s3 server, and should be good to go for your needs out of the box. The configuration of the development environment is found in .dev/.env
, and is already seeded with the appropriate values. You should probably not be modifying this unless you plan to work on a feature for a specific integration. the applications you get are as follows
leantime:leantime
) to check the DB schema and data.dev/.env
file by enabling s3Additionally, XDebug is enabled, but you will have to modify your IDE key in the .dev/xdebug.ini
file(or alternatively, on your IDE). You also need to have port 9003 temporarily open on your firewall so you can utilize it effectively. This is because connections from docker to the host will count as external inbound connection
<yourdomain.com>/update
This file forms part of the Leantime Software for which the following exception is added: Plugins within the /app/plugins
directory which merely make function calls to the Leantime Software, and for that purpose includes it by reference shall not be considered modifications of the software.