rsvp.pizza is a web application for collecting RSVP's to your pizza parties. Your friends can select the days they want to come and enter their email address to receive a Google Calendar invite to the party.
Before installing rsvp.pizza, you'll need to get OAuth2 credentials for the Google Calendar API and initialize the database.
- Start here to create an OAuth Desktop Application.
- Download the credential and save as
credentials.json
- Renew the token
go run cmd/renew_calendar_credentials.go
- Copy the printed URL to your web browser and complete the steps to log in with your Google account.
- Copy the code from the final URL that you're redirected to on localhost that does not exist.
rsvp.pizza patch -init
Configure a Keycloak OAuth2 server. Create a client application to get the Client ID and Client Server.
- Download the latest version
wget https://github.com/mpoegel/rsvp.pizza/releases/download/v0.1.0/rsvp.pizza_Linux_x86_64.tar.gz
- Create a pizza user.
sudo adduser pizza
- Unpack
sudo tar xzfv rsvp.pizza_Linux_x86_64.tar.gz -C /
- Adjust the environment variables and config file.
cp /etc/pizza/.env /etc/pizza/.env.prod
sudo vim /etc/pizza/.env.prod
- Adjust the nginx config.
cp /etc/pizza/nginx.conf /etc/nginx/sites-available/pizza.conf
sudo vim /etc/nginx/sites-available/pizza.conf
sudo ln -s /etc/nginx/sites-available/pizza.conf /etc/nginx/sites-enabled/pizza.conf
sudo systemctl reload nginx
- Start the pizza service.
sudo systemctl start pizza.service
docker build -t rsvp.pizza .
docker run --env-file=.env -v $PWD:/etc/pizza/db -v $PWD:/etc/pizza/creds rsvp.pizza