diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:18:45 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:18:45 +0200 |
commit | 1cf781e254caa876a2a86bcd355a49ed71babc27 (patch) | |
tree | f836f0a5f6ea26dedfd1247f219b8dc97344897b /api | |
parent | Merge branch 'pr/darkhpp/261-2' (diff) | |
download | server-1cf781e254caa876a2a86bcd355a49ed71babc27.tar.xz |
:pencil: updated links to fosscord-server
Diffstat (limited to 'api')
-rw-r--r-- | api/Dockerfile | 2 | ||||
-rw-r--r-- | api/README.md | 6 | ||||
-rw-r--r-- | api/package.json | 12 |
3 files changed, 9 insertions, 11 deletions
diff --git a/api/Dockerfile b/api/Dockerfile index b1b00a7a..08d15f72 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,7 +1,7 @@ FROM node:lts-alpine # needed for native packages (bcrypt, canvas) RUN apk add --no-cache make gcc g++ python cairo-dev jpeg-dev pango-dev giflib-dev -WORKDIR /usr/src/fosscord-api +WORKDIR /usr/src/fosscord-server COPY package.json . COPY package-lock.json . RUN npm rebuild bcrypt --build-from-source && npm install canvas --build-from-source diff --git a/api/README.md b/api/README.md index c8a33a0b..384a9611 100644 --- a/api/README.md +++ b/api/README.md @@ -14,7 +14,7 @@ </a> </p> -## [About](https://github.com/fosscord/fosscord-api/wiki) +## [About](https://github.com/fosscord/fosscord-server/wiki) This repository contains the Fosscord HTTP API Server @@ -43,8 +43,8 @@ and the other technologies we use Clone the Repository: ```bash -git clone https://github.com/fosscord/fosscord-api -cd discord-server +git clone https://github.com/fosscord/fosscord-server +cd fosscord-server ``` #### Install (dev)dependencies: diff --git a/api/package.json b/api/package.json index c9dd6b1f..1fe3d574 100644 --- a/api/package.json +++ b/api/package.json @@ -12,18 +12,16 @@ "start": "npm run build && node dist/start", "build": "tsc -b .", "build-docker": "tsc -p tsconfig-docker.json", - "dev": "tsnd --respawn src/start.ts", - "bundle:macos": "npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-api.app' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' && tar -czf 'fosscord-api-macos.app.tgz' 'fosscord-api.app'", - "bundle:linux": "npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' && tar -czf 'fosscord-api-linux.tgz' 'fosscord'", - "bundle:windows": "npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-api-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js'" + "dev": "tsnd --respawn src/start.ts" }, "repository": { "type": "git", - "url": "git+https://github.com/fosscord/fosscord-api.git" + "url": "git+https://github.com/fosscord/fosscord-server.git" }, "keywords": [ "discord", "fosscord", + "fosscord-server", "fosscord-api", "discord open source", "discord-open-source" @@ -31,9 +29,9 @@ "author": "Fosscord", "license": "ISC", "bugs": { - "url": "https://github.com/fosscord/fosscord-api/issues" + "url": "https://github.com/fosscord/fosscord-server/issues" }, - "homepage": "https://github.com/fosscord/fosscord-api#readme", + "homepage": "https://fosscord.com", "dependencies": { "@fosscord/util": "file:../util", "@types/jest": "^26.0.22", |