-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12a5ecf
commit 202a2d6
Showing
5,805 changed files
with
9,339 additions
and
696,712 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM node:10-buster | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app | ||
|
||
RUN npm ci | ||
|
||
CMD npm run start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# dexterafrance | ||
|
||
Lists upcoming events from french right-wing medias | ||
|
||
## Dependencies | ||
|
||
- Docker (with compose plugin) | ||
|
||
## Starting up | ||
|
||
```bash | ||
docker compose up -d | ||
``` | ||
|
||
Application should be available at http://127.0.0.1:5001/ | ||
|
||
Start with mongoadmin | ||
```bash | ||
docker compose -f docker-compose.yml -f docker-compose.dev.yml | ||
``` | ||
|
||
## Run database seeds | ||
|
||
```bash | ||
docker compose exec app node updatedb.js | ||
``` | ||
|
||
Additionally, create a cron job to apply further changes | ||
|
||
```bash | ||
0 1 * * * cd <PATH_TO_PROJECT> ; docker compose exec app node updatedb.js | ||
``` |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.