Giter VIP home page Giter VIP logo

mumbleapi's Introduction

API

Welcome to the Mumble Api Repository

Mumble Community Mumble SQL Diagram Mumble


Getting Started

If you are trying to use this project for the first time, you can get up and running by following these steps.

To contribute to this project, please see the contributing guidelines.

⚠ Note, this step assumes you are using github ssh keys for the git clone method

The Mumble Diagram

--> Preview :


--> Full View:

You can see clearly the diagram at : 

Requirements

Technology Version
Python 3.x
pip latest version
asgiref 3.3.4
certifi 2020.12.5
chardet 4.0.0
coreapi 2.3.3
coreschema
dj-database-url 0.5.0
Django 3.2
django-ckeditor 6.0.0
django-cors-headers 3.7.0
django-heroku 0.3.1
django-js-asset 1.2.2
djangorestframework 3.12.4
djangorestframework-simplejwt 4.6.0
dnspython 2.1.0
email-validator 1.1.2
gunicorn 20.1.0
idna 2.10
itypes 1.2.0
Jinja2 3.0.0
MarkupSafe 2.0.0
Pillow 8.2.0
psycopg2 2.8.6
PyJWT 2.0.1
pytz 2021.1
PyYAML 5.4.1
requests 2.25.1
sentry-sdk 1.0.0
six 1.15.0
sqlparse 0.4.1
typing-extension 3.10.0.0
uritemplate 3.0.1
urllib3 1.26.4
whitenoise 5.2.0

Install and Run

Make sure you have Python 3.x installed and the latest version of pip installed before running these steps.

To contribute, please follow the guidelines process.

Clone the repository using the following command

git clone [email protected]:divanov11/mumbleapi.git
# After cloning, move into the directory having the project files using the change directory command
cd mumbleapi

Create a virtual environment where all the required python packages will be installed

# Use this on Windows
python -m venv env
# Use this on Linux and Mac
python -m venv env

Activate the virtual environment

# Windows
.\env\Scripts\activate
# Linux and Mac
source env/bin/activate

Install all the project Requirements

pip install -r requirements.txt

-Apply migrations and create your superuser (follow the prompts)

# apply migrations and create your database
python manage.py migrate

# Create a user with manage.py
python manage.py createsuperuser

Load test data to your database

# load data for feed
python manage.py loaddata feeddata.json

# load data for article
python manage.py loaddata articledata.json

# load data for discussion
python manage.py loaddata discussiondata.json

Run the tests

# run django tests for article app
python manage.py test article
# run django tests for discussion app
python manage.py test discussion
# run django tests for feed app
python manage.py test feed
# run django tests for users app
python manage.py test users

Run the development server

# run django development server
python manage.py runserver

Reviewers

After submitting your PR, please tag reviewer(s) in your PR message. You can tag anyone below for the following.


Explore admin panel for model data or instances

http://127.0.0.1:8000/admin or http://localhost:8000/admin

Login with the user credentials (you created) using "createsuperuser" cmd

⚠ If everything is good and has been done successfully, your Django Rest API should be hosted on port 8000 i.e http://127.0.0.1:8000/ or http://localhost:8000/

mumbleapi's People

Contributors

praveenmalethia avatar divanov11 avatar midouwebdev avatar codyseibert avatar abhivemp avatar itzomen avatar shehanat avatar sachin-chaurasiya avatar bashiru98 avatar kaushal-dhungel avatar hrithik5 avatar ugamthakkar avatar i-am-zach avatar muntasir-mahmud avatar mkhnuser avatar rshalem avatar remcohalman avatar okumujustine avatar nandraj avatar mohamedmuneerm avatar mani-barathi avatar gauthampkrishnan avatar lawliet-cpp avatar

Watchers

James Cloos 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.