--- lang: ja-jp breaks: true --- # HedgeDoc をビルドして実行 TypeScript 2021-05-16 > hedgedoc/hedgedoc > https://github.com/hedgedoc/hedgedoc > Getting started > https://docs.hedgedoc.org/setup/getting-started/ > Manual Installation > https://docs.hedgedoc.org/setup/manual-setup/ > Configuration > https://docs.hedgedoc.org/configuration/ ```shell= sudo npm install -g yarn sudo npm install -g @nestjs/cli ``` ```shell= yarn install yarn build yarn install yarn add bin/setup ``` ```shell= vim config.json ``` ```json= { "production": { "db": { "dialect": "sqlite", "storage": "./db.hedgedoc.sqlite" }, "urlAddPort": true, "domain": "localhost" } } ``` ```shell= export HD_DOMAIN="http://localhost" export HD_MEDIA_BACKEND="filesystem" export HD_MEDIA_BACKEND_FILESYSTEM_UPLOAD_PATH="uploads/" export HD_DATABASE_DIALECT="sqlite" export HD_DATABASE_STORAGE="./hedgedoc.sqlite" ``` ```shell= NODE_ENV=production yarn start ``` ## 確認 http://localhost:3000/apidoc/ ###### tags: `HedgeDoc` `TypeScript`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up