You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
676 B
24 lines
676 B
# count.ピケ.コム
|
|
|
|
シンプルなアイテム数トラッカーページです。
|
|
|
|
## ホスト
|
|
1. これをインストール:
|
|
- PHP (7.3.31を使う)
|
|
- PostgreSQL (11.14を使う)
|
|
2. このリポジトリをクローン、`git clone https://git.xn--rck9c.xn--tckwe/pk11/count.git`
|
|
3. `vars.php.example`を`vars.php`にコピー
|
|
4. `vars.php`を返照
|
|
5. 以下のテーブルを指定のデータベースに作成:
|
|
```sql
|
|
CREATE TABLE items (
|
|
item_id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
|
|
priority INT,
|
|
count INT,
|
|
dec_amount INT,
|
|
inc_amount INT,
|
|
description VARCHAR(2048),
|
|
key VARCHAR(64)
|
|
);
|
|
```
|