Skip to content

Getting Started

  • Python 3.11+
  • PostgreSQL (or Supabase account)
  • GCP account (for Firestore and Cloud Storage)
  • Git
Terminal window
git clone https://github.com/xavierdurant/cloudalt-backend.git
cd cloudalt-backend
Terminal window
cd stays/
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r ../requirements.txt
Terminal window
cd discovery/
python -m venv venv
source venv/bin/activate
pip install -r ../requirements.txt
Terminal window
cd services/
python -m venv venv
source venv/bin/activate
pip install -r ../requirements.txt

Copy the example environment file:

Terminal window
cp .env.example .env

Edit .env with your credentials (see Environment Variables).

Terminal window
python manage.py migrate
Terminal window
python manage.py createsuperuser
Terminal window
python manage.py runserver 8000 # For stays
python manage.py runserver 8001 # For discovery
python manage.py runserver 8002 # For services

Visit http://localhost:8000/admin/ to access Django admin.