Skip to content

Commit

Permalink
feat: Initial version with plain Sumory + basic config.
Browse files Browse the repository at this point in the history
  • Loading branch information
elondaits committed Feb 22, 2024
1 parent 9069115 commit 7476f3b
Show file tree
Hide file tree
Showing 11 changed files with 128 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/dist
/work
node_modules
!**/.gitkeep
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/dm-bonn-sumory.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# dmbonn-sumory

Deutsches Museum Bonn version of the Sumory exhibit

## Building

Requires Node.js (v18.19 or greater) and npm.

Run the following from the root directory of the project:

```bash
npm install
npm run build
```

This will create a `dist` directory with the compiled exhibit. This directory can be served by any web server.

## Credits

This adaptation was developed by Eric Londaits for Imaginary gGmbH.

## License

Code licensed under the MIT License. See [LICENSE](LICENSE) for details.

Copyright 2024 Imaginary gGmbH.
Empty file added extras/.gitkeep
Empty file.
8 changes: 8 additions & 0 deletions extras/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"languages": {
"en": "English",
"de": "Deutsch"
},
"defaultLanguage": "de",
"showLanguageSwitcher": true
}
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "dm-bonn-sumory",
"version": "1.0.0",
"description": "Deutsches Museum Bonn version of the Sumory exhibit",
"main": "index.js",
"dependencies": {
"degit": "^2.8.4"
},
"scripts": {
"build": "rm -rf ./dist && degit github:IMAGINARY/sumory#v1.3.1 --mode=git --force dist && cp -R ./extras/* ./dist && cd ./dist/src && npm install && npm run build && cd .. && cd .."
},
"repository": {
"type": "git",
"url": "https://github.com/IMAGINARY/dm-bonn-sumory.git"
},
"private": true
}

0 comments on commit 7476f3b

Please sign in to comment.