Skip to content

Commit 12880b9

Browse files
committed
Initial version.
0 parents  commit 12880b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+20643
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist/
2+
.idea/
3+
elm-stuff/
4+
node_modules/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "client/elm-material"]
2+
path = client/elm-material
3+
url = https://github.com/Lattyware/elm-material.git

LICENSE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# [Many Decks][hosted]
2+
3+
[![Build Status](https://img.shields.io/github/workflow/status/Lattyware/manydecks/Build%20and%20publish%20to%20GitHub.)](https://github.com/Lattyware/manydecks/actions)
4+
[![License](https://img.shields.io/github/license/Lattyware/manydecks)](LICENSE)
5+
6+
Many Decks is a free, open source deck source that can be used to host decks for [Massive Decks][md], a comedy party game based on
7+
Cards against Humanity.
8+
9+
Please note this is a very early version and there will be rough edges, please do report bugs!
10+
11+
**[Many Decks][hosted]**
12+
13+
[hosted]: https://decks.md.rereadgames.com
14+
[md]: https://github.com/Lattyware/massivedecks
15+
16+
## About
17+
18+
Many Decks is open source software available under [the AGPLv3 license](LICENSE) and written in [Elm][elm] and
19+
[TypeScript][typescript].
20+
21+
[elm]: https://elm-lang.org/
22+
[typescript]: https://www.typescriptlang.org/
23+
24+
## Use
25+
26+
To use, [the hosted version][hosted] is easiest.
27+
28+
29+
30+
## Contributing
31+
32+
If you have any problems with the editor, please [raise an issue][issue]. If you would like to help develop it, pull
33+
requests are welcome.
34+
35+
[issue]: https://github.com/Lattyware/massivedecks/issues/new
36+
37+
## Credits
38+
39+
### Maintainers
40+
41+
Many Decks is maintained by [Reread Games][reread].
42+
43+
[reread]: https://www.rereadgames.com/

client/Dockerfile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
FROM node:14-alpine
2+
3+
ARG VERSION=dev
4+
ENV MD_VERSION $VERSION
5+
6+
WORKDIR /md
7+
8+
COPY ["./package.json", "./package-lock.json", "./"]
9+
# COPY ["./elm-material/package.json", "./elm-material/package-lock.json", "./elm-material/"]
10+
11+
RUN ["apk", "add", "--no-cache", "--virtual", ".gyp", "python", "make", "g++"]
12+
RUN ["npm", "ci"]
13+
14+
COPY ["./tsconfig.json", "./webpack.config.js", "./elm.json", "./"]
15+
COPY ["./src", "./src"]
16+
COPY ["./elm-material/src", "./elm-material/src"]
17+
COPY ["./assets", "./assets"]
18+
RUN ["npm", "run", "build"]
19+
20+
FROM nginx:mainline-alpine
21+
22+
ARG BUILD_DATE
23+
ARG VCS_REF
24+
ARG VERSION=dev
25+
26+
EXPOSE 8080
27+
28+
LABEL org.label-schema.name="manydecks/client"
29+
LABEL org.label-schema.description="The web client for Many Decks, a deck source for Massive Decks."
30+
LABEL org.label-schema.url="https://github.com/Lattyware/manydecks"
31+
LABEL org.label-schema.vcs-url="https://github.com/Lattyware/manydecks"
32+
LABEL org.label-schema.vendor="Reread Games"
33+
LABEL org.label-schema.schema-version="1.0"
34+
LABEL org.label-schema.build-date=$BUILD_DATE
35+
LABEL org.label-schema.vcs-ref=$VCS_REF
36+
LABEL org.label-schema.version=$VERSION
37+
38+
COPY --from=0 ["/md/dist", "/usr/share/nginx/html/"]
39+
COPY ["./nginx.conf", "/etc/nginx/nginx.conf"]

client/assets/images/deck.svg

Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 24 additions & 0 deletions
Loading

client/assets/images/google/focus.svg

Lines changed: 51 additions & 0 deletions
Loading
Lines changed: 50 additions & 0 deletions
Loading
Lines changed: 50 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)