Skip to content

Appropriately/lazy-holiday-planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lazy-holiday-planner

About

The lazy bastard's holiday planner. Creating account gains you access to the ability to just quickly generate a full holiday by just specifying some details including location and the dates you want to be there. You get the ability to share the trip with friends and add landmarks and scheduled events.

Setup

To setup the application in a developer environment, you will need to install the pip requirements and then run the dev-run script:

bash scripts/requirements-install
bash dev-run

This will begin the server, however a lot of the functionality will not work if you don't expose the webhook correctly. You can use ngrok to expose the /api/typeform to the internet, which will make the system actually work. ngrok can generate you a public facing domain by running the following command:

sudo ngrok http 8000

Then, you will need to modify the domain on the typeform website so that it can properly reach the webhook. I'd recommend using typeform's built in method for checking that the webhook properly works.

To start from a clean slate with the database, run the following command:

bash scripts/reset-db

If you aren't going to run the scripts/dev-run after, ensure that you run the following commands so that the migrations are made and applied before running:

python manage.py makemigrations
python manage.py migrate

About

The lazy bastard's holiday planner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published