LoginSignup
5
6

More than 5 years have passed since last update.

Trello のクローン php-simple-kanban を動かしてみた

Last updated at Posted at 2017-02-14

参考

alpine linuxにて確認

apk add php7-pdo_sqlite

git clone "https://github.com/mikiakira/php-simple-kanban"
chown -R apache:apache php-simple-kanban

cd php-simple-kanban
mv app.template.db app.db

# idiormのインストール
cd class/
wget "https://raw.githubusercontent.com/j4mie/idiorm/master/idiorm.php"
config/define.php
<?php
const APP_PASS = 'adminから変更する';
const SESSION_NAME = '適当に変える';

表示されることを確認。

board.png

ボード自体の編集はボード名をクリック

スクリーンショット_2017-02-15_07-21-43.png

ことある毎にエラー出たりしますが、これは今後のバージョンアップに期待。

aaa.png

Dockerfile
FROM php:7.1-apache

RUN apt update \
    && apt install -y git \
    && git clone "https://github.com/mikiakira/php-simple-kanban" /var/www/html \
    && cp /var/www/html/app.template.db /var/www/html/app.db \
    && chown -R www-data:www-data /var/www/html

EXPOSE 80
CMD (/etc/init.d/apache2 start && tail -f /var/log/apache2/*log)
docker-compose.yml(作りかけ)
kanban:
  image: tukiyo3/php_simple_kanban
  restart: always
  volumes:
    - ./app.db:/var/www/html/app.db
    - ./config/define.php:/var/www/html/config/define.php
  ports:
    - "80:80"
5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6