Skip to content

Commit

Permalink
Replace scripts to bin. because virtual env global ignore use [Ss]cript
Browse files Browse the repository at this point in the history
  • Loading branch information
threetreeslight committed Oct 27, 2018
1 parent bdf7b00 commit 4718495
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 76 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 70,13 @@ docker-compose run node npm run prepare
Generate event template

```sh
docker-compose run node node ./scripts/generateNextEvent.js
docker-compose run node node ./bin/generateNextEvent.js
```

Set reminder and poller

```sh
SLACK_API_TOKEN=<YOUR_SLACK_API_TOKEN> \
SLACK_CHANNEL=<YOUR_SLACK_CHANNEL> \
docker-compose run node node ./script/setRminderAndPoll.js
docker-compose run node node ./bin/setRminderAndPoll.js
```
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 24,7 @@ services:
environment:
MEETUP: ${MEETUP}
working_dir: /app
command: ["node", "scripts/presenter.js", $MEETUP]
command: ["node", "bin/presenter.js", $MEETUP]

volumes:
node_modules:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@
"description": "![](/assets/images/shinjuku-mokumoku-banner-960x180.png)",
"main": "index.js",
"scripts": {
"prepare": "node ./scripts/setReminderAndPoll.js && node ./scripts/generateNextEvent.js"
"prepare": "node ./bin/setReminderAndPoll.js && node ./bin/generateNextEvent.js"
},
"repository": {
"type": "git",
Expand Down
15 changes: 0 additions & 15 deletions scripts/generateNextEvent.js

This file was deleted.

11 changes: 0 additions & 11 deletions scripts/presenter.js

This file was deleted.

46 changes: 0 additions & 46 deletions scripts/setReminderAndPoll.js

This file was deleted.

0 comments on commit 4718495

Please sign in to comment.