https://github.com/ColinFay/hexmake
A Shiny App for Making Hex Stickers.
https://github.com/ColinFay/hexmake
Last synced: 5 months ago
JSON representation
A Shiny App for Making Hex Stickers.
- Host: GitHub
- URL: https://github.com/ColinFay/hexmake
- Owner: ColinFay
- License: other
- Created: 2019-12-15T20:19:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-10T20:54:08.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:15:21.160Z (8 months ago)
- Language: R
- Homepage: https://connect.thinkr.fr/hexmake
- Size: 779 KB
- Stars: 105
- Watchers: 5
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - ColinFay/hexmake - A Shiny App for Making Hex Stickers. (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
eval = FALSE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# hexmake
Golem app available at https://connect.thinkr.fr/hexmake/
## Use it with a mongo db
If you want to use a mongo db as a backend to store hexes, you can plug it with a docker image.
``` bash
docker run -v /mongo/data/db:/data/db -v /mongo/data/dump:/dump -p 12334:27017 -d --name mongohexmake -e MONGO_INITDB_ROOT_USERNAME=myuser -e MONGO_INITDB_ROOT_PASSWORD=mypassword mongo:3.4
```Then set a series of env variables with the infos (or use the one from your prod env).
```{r}
Sys.setenv("MONGOPORT" = 12334)
Sys.setenv("MONGOURL" = "127.0.0.1")
Sys.setenv("MONGODB" = "hex")
Sys.setenv("MONGOCOLLECTION" = "make")
Sys.setenv("MONGOUSER" = "myuser")
Sys.setenv("MONGOPASS" = "mypassword")
```And run
```{r}
hexmake::run_app(with_mongo = TRUE)
```Please note that the 'hexmake' project is released with a
[Contributor Code of Conduct](CODE_OF_CONDUCT.md).
By contributing to this project, you agree to abide by its terms.