Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
Work on a 'rebuild' version
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Mar 18, 2021
1 parent 203d49d commit f4aafbf
Show file tree
Hide file tree
Showing 105 changed files with 4,264 additions and 25,362 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
dist/
data/
old/

# Jest
coverage/
Expand Down
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"eslint.validate": ["typescript"],
"editor.tabSize": 2,
"deno.enable": false
}
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"eslint.validate": ["typescript"],
"editor.tabSize": 2
}
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
FROM node:alpine

ARG branch
WORKDIR /opt/nino-${branch}

COPY . .
RUN apk add --no-cache git
RUN npm ci
RUN npm test
RUN npm run build

ENTRYPOINT [ "npm", "run", "start" ]
# coming to you soon
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2019-2021 Nino Development Team
Copyright (c) 2019-2021 Nino

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
30 changes: 1 addition & 29 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
version: '3.8'
services:
bot:
build: .
networks:
- 'nino'
- 'default'
redis:
image: 'redis:latest'
ports:
- '6379:6379'
networks:
- 'nino'
volumes:
- 'redis:/data'
database:
image: 'mongo:latest'
ports:
- '27017:27017'
networks:
- 'nino'
volumes:
- 'mongo:/data/db'
volumes:
mongo:
redis:
networks:
nino:
internal: true
# coming soon near you
8 changes: 0 additions & 8 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit f4aafbf

Please sign in to comment.