christmas/README.md
2019-11-10 16:29:00 -05:00

57 lines
No EOL
1.5 KiB
Markdown

# Christmas Community
![Docker Pulls](https://img.shields.io/docker/pulls/wingysam/christmas-community?style=for-the-badge)
![Version](https://img.shields.io/badge/dynamic/json?color=orange&label=Version&query=version&url=https%3A%2F%2Fgitlab.com%2Fwingysam%2Fchristmas-community%2Fraw%2Fmaster%2Fpackage.json&style=for-the-badge)
![Language](https://img.shields.io/badge/Language-JavaScript-F0DB4F?style=for-the-badge)
![Runtime](https://img.shields.io/badge/Runtime-Node.JS-68A063?style=for-the-badge)
Web app for your family's Christmas shopping
## Purpose
To create a simple place for your entire family to use to find gifts that people want, and to avoid double-gifting.
## Screenshots
![Screenshot](screenshots/main.png)
![Screenshot](screenshots/list.png)
![Screenshot](screenshots/link-not-required.png)
![Screenshot](screenshots/name-from-link.png)
## Docker
```
docker run --detach --name christmas-community -p 80:80 --restart always wingysam/christmas-community
```
## Docker Compose
```yml
---
version: "3"
services:
christmas-community:
image: wingysam/christmas-community
volumes:
- ./data:/data
ports:
- 80:80
restart: always
```
## Install
```sh
git clone https://gitlab.com/wingysam/christmas-community
cd christmas-community
yarn
```
## Configuration
Add environment variables with a .env. Example:
```env
SITE_TITLE="Christmas Zone"
PORT=80
```
## Startup
```sh
yarn start
```
## Setup
Visit `/` on the HTTP server to add an admin account.