Coder Social home page Coder Social logo

websocketdjango's Introduction

WebSocketDjango

Requirements

  • Python 3.6+
  • PostgreSQL 10+
  • All packages in requirements.txt

PostgreSQL Setup

  1. sudo apt install python-pip python-dev libpq-dev postgresql-12 postgresql-contrib
  2. sudo su - postgres
  3. psql
  4. CREATE DATABASE your_db_name;
  5. CREATE USER your_user_name WITH PASSWORD 'your_password';
  6. ALTER ROLE your_user_name SET client_encoding TO 'utf8';
  7. ALTER ROLE your_user_name SET default_transaction_isolation TO 'read committed';
  8. ALTER ROLE your_user_name SET timezone TO 'UTC';
  9. GRANT ALL PRIVILEGES ON DATABASE your_db_name TO your_user_name;
  10. \q
  11. exit

Virtualenv Setup

  1. python3 -m venv your_env_name
  2. . your_env_name/bin/activate
  3. pip install -r requirements.txt

Note: Care about where you set your_env_name

websocketdjango's People

Contributors

telomeraz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.