Compare commits

...

4 Commits

Author SHA1 Message Date
rinsuki b56ea1b57a update dockerfile 2019-10-19 04:54:12 +09:00
rinsuki 7b31053bab fix doc 2019-10-19 04:53:56 +09:00
rinsuki d3b3f89c29 fix indent 2019-10-19 04:52:29 +09:00
rinsuki f31815bf2f move some packages to devDependencies 2019-10-19 04:49:50 +09:00
5 changed files with 95 additions and 94 deletions

View File

@ -23,9 +23,10 @@ RUN apk add --no-cache \
zlib-dev
COPY package.json ./
RUN yarn install
RUN yarn install --prod=false
COPY . ./
RUN yarn build
RUN yarn install --prod
FROM base AS runner

View File

@ -51,7 +51,7 @@ Please install and setup these softwares:
5. Install misskey dependencies.
`yarn`
`yarn install --prod=false`
*4.* Configure Misskey
----------------------------------------------------------------
@ -130,7 +130,7 @@ You can check if the service is running with `systemctl status misskey`.
### How to update your Misskey server to the latest version
1. `git checkout master`
2. `git pull`
3. `yarn install`
3. `yarn install --prod=false`
4. `NODE_ENV=production yarn build`
5. `yarn migrate`
6. Restart your Misskey process to apply changes
@ -138,7 +138,7 @@ You can check if the service is running with `systemctl status misskey`.
If you encounter any problems with updating, please try the following:
1. `yarn clean` or `yarn cleanall`
2. Retry update (Don't forget `yarn install`
2. Retry update (Don't forget `yarn install --prod=false`)
----------------------------------------------------------------

View File

@ -51,7 +51,7 @@ Installez les paquets suivants :
5. Installez les dépendances de misskey.
`yarn install`
`yarn install --prod=false`
*4.* Création du fichier de configuration
----------------------------------------------------------------
@ -124,7 +124,7 @@ Vous pouvez vérifier si le service a démarré en utilisant la commande `system
### Méthode de mise à jour vers la plus récente version de Misskey
1. `git checkout master`
2. `git pull`
3. `yarn install`
3. `yarn install --prod=false`
4. `NODE_ENV=production yarn build`
5. `yarn migrate`

View File

@ -53,7 +53,7 @@ adduser --disabled-password --disabled-login misskey
5. Misskeyの依存パッケージをインストール
`yarn install`
`yarn install --prod=false`
*4.* 設定ファイルを作成する
----------------------------------------------------------------
@ -132,7 +132,7 @@ yarn run init
### Misskeyを最新バージョンにアップデートする方法:
1. `git checkout master`
2. `git pull`
3. `yarn install`
3. `yarn install --prod=false`
4. `NODE_ENV=production yarn build`
5. `yarn migrate`

View File

@ -32,20 +32,102 @@
},
"dependencies": {
"@elastic/elasticsearch": "7.4.0",
"@fortawesome/fontawesome-svg-core": "1.2.25",
"@fortawesome/free-brands-svg-icons": "5.11.2",
"@fortawesome/free-regular-svg-icons": "5.11.2",
"@fortawesome/free-solid-svg-icons": "5.11.2",
"@fortawesome/vue-fontawesome": "0.1.7",
"@koa/cors": "3.0.0",
"@koa/multer": "2.0.0",
"@koa/router": "8.0.2",
"agentkeepalive": "4.1.0",
"autobind-decorator": "2.4.0",
"autwh": "0.1.0",
"aws-sdk": "2.548.0",
"bcryptjs": "2.4.3",
"bull": "3.11.0",
"cafy": "15.1.1",
"cbor": "5.0.1",
"chalk": "2.4.2",
"cli-highlight": "2.1.1",
"commander": "3.0.2",
"content-disposition": "0.5.3",
"crc-32": "1.2.0",
"dateformat": "3.0.3",
"diskusage": "1.1.3",
"double-ended-queue": "2.1.0-0",
"feed": "4.0.0",
"file-type": "12.3.0",
"fluent-ffmpeg": "2.1.2",
"http-signature": "1.2.0",
"https-proxy-agent": "3.0.0",
"is-root": "2.1.0",
"is-svg": "4.2.0",
"js-yaml": "3.13.1",
"jsdom": "15.1.1",
"jsrsasign": "8.0.12",
"koa": "2.10.0",
"koa-bodyparser": "4.2.1",
"koa-compress": "3.0.0",
"koa-favicon": "2.0.1",
"koa-json-body": "5.3.0",
"koa-logger": "3.2.1",
"koa-mount": "4.0.0",
"koa-send": "5.0.0",
"koa-slow": "2.1.0",
"koa-views": "6.2.1",
"langmap": "0.0.16",
"lookup-dns-cache": "2.1.0",
"ms": "2.1.2",
"nested-property": "1.0.1",
"nodemailer": "6.3.1",
"os-utils": "0.0.14",
"parse5": "5.1.0",
"parsimmon": "1.13.0",
"portscanner": "2.2.0",
"promise-limit": "2.7.0",
"punycode": "2.1.1",
"pureimage": "0.1.6",
"qrcode": "1.4.2",
"random-seed": "0.3.0",
"ratelimiter": "3.3.1",
"recaptcha-promise": "0.1.3",
"redis": "2.8.0",
"redis-lock": "0.1.4",
"reflect-metadata": "0.1.13",
"rename": "1.0.4",
"request": "2.88.0",
"request-promise-native": "1.0.7",
"request-stats": "3.0.0",
"require-all": "3.0.0",
"rndstr": "1.0.0",
"seedrandom": "3.0.5",
"sharp": "0.23.1",
"showdown": "1.9.0",
"showdown-highlightjs-extension": "0.1.2",
"speakeasy": "2.0.0",
"stringz": "2.0.0",
"summaly": "2.3.1",
"syslog-pro": "1.0.0",
"systeminformation": "4.14.11",
"tmp": "0.1.0",
"typeorm": "0.2.19",
"ulid": "2.3.0",
"uuid": "3.3.3",
"web-push": "3.4.0",
"websocket": "1.0.30",
"pg": "7.12.1",
"pug": "2.0.4",
"xev": "2.0.1"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.25",
"@fortawesome/free-brands-svg-icons": "5.11.2",
"@fortawesome/vue-fontawesome": "0.1.7",
"@types/bcryptjs": "2.4.2",
"@types/bull": "3.10.3",
"@types/cbor": "2.0.0",
"@types/dateformat": "3.0.1",
"@types/deep-equal": "1.0.1",
"@types/double-ended-queue": "2.1.1",
"@types/fluent-ffmpeg": "2.1.10",
"@types/gulp": "4.0.6",
"@types/gulp-mocha": "0.0.32",
"@types/gulp-rename": "0.0.33",
@ -101,37 +183,18 @@
"@types/websocket": "0.0.40",
"@types/ws": "6.0.3",
"@typescript-eslint/parser": "2.3.3",
"agentkeepalive": "4.1.0",
"animejs": "3.1.0",
"apexcharts": "3.10.0",
"autobind-decorator": "2.4.0",
"autosize": "4.0.2",
"autwh": "0.1.0",
"aws-sdk": "2.548.0",
"bcryptjs": "2.4.3",
"bootstrap": "4.3.1",
"bootstrap-vue": "2.0.4",
"bull": "3.11.0",
"cafy": "15.1.1",
"cbor": "5.0.1",
"chai": "4.2.0",
"chalk": "2.4.2",
"cli-highlight": "2.1.1",
"commander": "3.0.2",
"content-disposition": "0.5.3",
"crc-32": "1.2.0",
"css-loader": "3.2.0",
"cssnano": "4.1.10",
"dateformat": "3.0.3",
"deep-equal": "1.1.0",
"diskusage": "1.1.3",
"double-ended-queue": "2.1.0-0",
"eslint": "6.5.1",
"eslint-plugin-vue": "5.2.3",
"eventemitter3": "4.0.0",
"feed": "4.0.0",
"file-type": "12.3.0",
"fluent-ffmpeg": "2.1.2",
"gulp": "4.0.2",
"gulp-cssnano": "2.1.3",
"gulp-imagemin": "6.1.1",
@ -146,98 +209,41 @@
"gulp-util": "3.0.8",
"hard-source-webpack-plugin": "0.13.1",
"html-minifier": "4.0.0",
"http-signature": "1.2.0",
"https-proxy-agent": "3.0.0",
"insert-text-at-cursor": "0.3.0",
"is-root": "2.1.0",
"is-svg": "4.2.0",
"js-yaml": "3.13.1",
"jsdom": "15.1.1",
"json5": "2.1.1",
"json5-loader": "3.0.0",
"jsrsasign": "8.0.12",
"katex": "0.11.1",
"koa": "2.10.0",
"koa-bodyparser": "4.2.1",
"koa-compress": "3.0.0",
"koa-favicon": "2.0.1",
"koa-json-body": "5.3.0",
"koa-logger": "3.2.1",
"koa-mount": "4.0.0",
"koa-send": "5.0.0",
"koa-slow": "2.1.0",
"koa-views": "6.2.1",
"langmap": "0.0.16",
"loader-utils": "1.2.3",
"lolex": "4.2.0",
"lookup-dns-cache": "2.1.0",
"mocha": "6.2.1",
"moji": "0.5.1",
"ms": "2.1.2",
"multer": "1.4.2",
"nested-property": "1.0.1",
"node-fetch": "2.6.0",
"nodemailer": "6.3.1",
"nprogress": "0.2.0",
"object-assign-deep": "0.4.0",
"os-utils": "0.0.14",
"parse5": "5.1.0",
"parsimmon": "1.13.0",
"pg": "7.12.1",
"portscanner": "2.2.0",
"postcss-loader": "3.0.0",
"prismjs": "1.17.1",
"progress-bar-webpack-plugin": "1.12.1",
"promise-limit": "2.7.0",
"promise-sequential": "1.1.1",
"pug": "2.0.4",
"punycode": "2.1.1",
"pureimage": "0.1.6",
"qrcode": "1.4.2",
"random-seed": "0.3.0",
"randomcolor": "0.5.4",
"ratelimiter": "3.3.1",
"recaptcha-promise": "0.1.3",
"reconnecting-websocket": "4.2.0",
"redis": "2.8.0",
"redis-lock": "0.1.4",
"reflect-metadata": "0.1.13",
"rename": "1.0.4",
"request": "2.88.0",
"request-promise-native": "1.0.7",
"request-stats": "3.0.0",
"require-all": "3.0.0",
"rimraf": "3.0.0",
"rndstr": "1.0.0",
"s-age": "1.1.2",
"seedrandom": "3.0.5",
"sharp": "0.23.1",
"showdown": "1.9.0",
"showdown-highlightjs-extension": "0.1.2",
"speakeasy": "2.0.0",
"stringz": "2.0.0",
"style-loader": "1.0.0",
"stylus": "0.54.7",
"stylus-loader": "3.0.2",
"summaly": "2.3.1",
"syslog-pro": "1.0.0",
"systeminformation": "4.14.11",
"syuilo-password-strength": "0.0.1",
"terser-webpack-plugin": "2.1.3",
"textarea-caret": "3.1.0",
"three": "0.109.0",
"tinycolor2": "1.4.1",
"tmp": "0.1.0",
"ts-loader": "6.2.0",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"tslint-sonarts": "1.9.0",
"typeorm": "0.2.19",
"typescript": "3.6.4",
"uglify-es": "3.3.9",
"ulid": "2.3.0",
"url-loader": "2.2.0",
"uuid": "3.3.3",
"v-animate-css": "0.0.3",
"v-debounce": "0.1.2",
"vue": "2.6.10",
@ -259,14 +265,8 @@
"vuewordcloud": "18.7.11",
"vuex": "3.1.1",
"vuex-persistedstate": "2.5.4",
"web-push": "3.4.0",
"webpack": "4.41.1",
"webpack-cli": "3.3.9",
"websocket": "1.0.30",
"ws": "7.1.2",
"xev": "2.0.1"
},
"devDependencies": {
"@types/fluent-ffmpeg": "2.1.10"
"ws": "7.1.2"
}
}