From c1f776e7ebe3cf6b0106e79a0c9921a0903b3e07 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 6 May 2025 16:05:35 +0200 Subject: [PATCH] update docs --- .env.example | 16 ++++++++++++++++ README.md | 17 +++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..d11cfce --- /dev/null +++ b/.env.example @@ -0,0 +1,16 @@ +DEBUG=True +ODOO_URL=https://test.central.vshn.ch +ODOO_DB=VSHNTest +ODOO_USERNAME=CHANGEME +ODOO_PASSWORD=CHANGEME +BROKER_USERNAME=broker +BROKER_PASSWORD=CHANGEME +ALLOWED_HOSTS=localhost,127.0.0.1 +SECRET_KEY="django-insecure-CHANGEME" +ODOO_LEAD_CAMPAIGN_ID=6 +ODOO_LEAD_SOURCE_ID=28 +ODOO_LEAD_MEDIUM_ID=1 +ODOO_LEAD_TAG_ID=6 +ODOO_MAILING_LIST_ID=14 +EMAIL_HOST_USER=CHANGEME +EMAIL_HOST_PASSWORD=CHANGEME \ No newline at end of file diff --git a/README.md b/README.md index df88385..dee6f57 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,13 @@ -# Servala Frontend +# Servala Website -This is a PoC for a Servala Frontend with the aim to collect leads and measure market interest. +This is the Django source-code of the website powering https://servala.com. + +## Running locally + +``` +cp .env.example .env +source .env +uv run --extra dev manage.py migrate +uv run --extra dev manage.py runserver +``` -* List services -* Show CSPs -* Collect leads with a form -* Expose some OSB API mocks to collect leads