This small project was made to organize the presents for my family. Every registered member of the family can add wishes, and can see wishes from other members of the family. Everyone can then claim a wish to say "I will buy this" and the wish disappear from the "available" list in order to avoid two people buying the same gift. You can also contribute to a gift without buying it entirely, and the system keeps track of the remaining amount missing from this gift, which can be helpful for group gifts.
Guide intended for technical people, I don't have a general install yet sorry.
- Go on your server
- Clone the repo
git clone [email protected]:lcalem/family-presents.git
- Set the listening ports with
export PROJECT_PORT=80
andexport PROJECT_HTTPS_PORT=443
or whatever port you want to use cd
in the repo and build the docker usingmake build_prod
- Up the server and the DB using
make run_all_prod
- Go in the db container (
docker exec -it docker_mongo_prod_1 mongo
) and set the active db to "data" (mongo>use data
) - Insert users of your system
db.users.insert({"name": "<DISPLAY_NAME>", "username": "<USERNAME>", "password": "<PASSWORD_HASH>", "families":["Smith", "Dupond"]})
After this procedure the website should be up and running on your server, to make it accessible from a specific URL you own you then need to make a DNS redirection to your server IP.