Skip to content

KostaSav/lhd-build-cockroachdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lhd-build-cockroachdb

This simple application follows the "hello, world" tutorial.

Quick Start

  1. Set up virtual environment

    python -m venv env
    env\Scripts\activate (Windows)
    source env/bin/activate (Mac)
    
  2. Install dependencies (django etc)

    python -m pip install django
    pip install psycopg2-binary
    

    Note: Might need to upgrade pip if getting error installing psycopg2-binary

    python -m pip install --upgrade pip
    

    Then, continue installing depencencies:

    python -m pip install django-cockroachdb
    pip install python-dotenv
    
  3. Start application

    python manage.py runserver 0.0.0.0:8000
    

    or another port if 8000 is used by another application.

About

Simple Django app that interacts with a CockroachDB cluster in the cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages