Skip to content

Commit

Permalink
Merge pull request #510 from research-software-directory/473-data-gen…
Browse files Browse the repository at this point in the history
…eration

Create a fake data generation script
  • Loading branch information
ewan-escience authored Sep 9, 2022
2 parents cc0ebd9 + a4c0c3d commit 6429bcd
Show file tree
Hide file tree
Showing 9 changed files with 1,052 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2021 - 2022 Dusan Mijatovic (dv4all)
# SPDX-FileCopyrightText: 2021 - 2022 Ewan Cahen (Netherlands eScience Center) <e.cahen@esciencecenter.nl>
# SPDX-FileCopyrightText: 2021 - 2022 Netherlands eScience Center
# SPDX-FileCopyrightText: 2021 - 2022 dv4all
# SPDX-FileCopyrightText: 2021 Ewan Cahen (Netherlands eScience Center) <e.cahen@esciencecenter.nl>
# SPDX-FileCopyrightText: 2021 Netherlands eScience Center
#
# SPDX-License-Identifier: Apache-2.0

Expand All @@ -12,6 +12,7 @@
**.iml

# .vscode
**/launch.json

node_modules

Expand Down
6 changes: 6 additions & 0 deletions data-generator/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <e.cahen@esciencecenter.nl>
# SPDX-FileCopyrightText: 2022 Netherlands eScience Center
#
# SPDX-License-Identifier: Apache-2.0

node_modules
11 changes: 11 additions & 0 deletions data-generator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <e.cahen@esciencecenter.nl>
# SPDX-FileCopyrightText: 2022 Netherlands eScience Center
#
# SPDX-License-Identifier: Apache-2.0

FROM node:18.8.0-bullseye-slim
WORKDIR /usr/app
COPY ./package.json /usr/app
RUN npm install
COPY ./main.js /usr/app
CMD npx wait-on --timeout 10000 $POSTGREST_URL && node main.js
Loading

0 comments on commit 6429bcd

Please sign in to comment.