Skip to content

winds-mobi/winds-mobi-admin

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

840a1bd · May 9, 2023

History

45 Commits
Mar 19, 2023
Jun 24, 2022
Mar 19, 2023
Mar 19, 2023
Mar 19, 2023
Mar 19, 2023
Dec 27, 2021
Aug 7, 2022
Aug 7, 2022
Jan 11, 2022
Mar 19, 2023
May 19, 2019
Mar 19, 2023
Jun 24, 2022
Aug 7, 2022
Jun 24, 2022
May 9, 2023
May 9, 2023
Jun 24, 2022

Repository files navigation

winds.mobi - real-time weather observations

Follow us on https://www.facebook.com/WindsMobi/

winds.mobi: Paraglider pilot, kitesurfer, check real-time weather conditions of your favorite spots on your smartphone, your tablet or your computer.

winds-mobi-admin

Django application to administrate winds.mobi:

  • manage users and profiles
  • configure Zermatt stations
  • configure Windy stations

Dependencies

  • python 3.9 and poetry
  • postgres
  • redis

See settings.py

Run the project with docker compose (simple way)

Create a .env file from .env.template and, optionally, fill the missing secrets for Facebook and Google social authentications.

  • docker compose --profile=application up --build

Run the project locally on macOS

Install dependencies

  • brew install libpq
  • export PATH=/usr/local/opt/libpq/bin:$PATH
  • export LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"

Python environment

  • poetry install
  • poetry shell

Create a .env.localhost file from .env.localhost.template and fill the missing secrets.

Create db schema

  • dotenv -f .env.localhost run python manage.py migrate

Start external services with docker compose

Create a .env file from .env.template.

  • docker compose up

Run the server

  • dotenv -f .env.localhost run python manage.py runserver 8006

Licensing

Please see the file called LICENSE.txt