Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitbravo/realtime-collaborate-document
Realtime-Collaborate-Document using Angular4 and Django
https://github.com/bitbravo/realtime-collaborate-document
angular-cli angular4 django python socket-io
Last synced: 8 days ago
JSON representation
Realtime-Collaborate-Document using Angular4 and Django
- Host: GitHub
- URL: https://github.com/bitbravo/realtime-collaborate-document
- Owner: BitBravo
- Created: 2018-06-15T13:49:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T03:50:47.000Z (over 5 years ago)
- Last Synced: 2024-11-08T21:37:01.358Z (2 months ago)
- Topics: angular-cli, angular4, django, python, socket-io
- Language: HTML
- Homepage:
- Size: 2.03 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run the frontend side(Angular 4)
# Websocket PORT SETTING
- angualr_client/src/app.component.ts
socket = new WebSocket(`${this.ws_scheme}:// ${} : ${}/chat/`);
That is your server ip address and port numberOR
You have to run the frontend using the ip address: like this. http://192.168.31.1:9999
# Run
`bash$npm install
$npm start
## How to run the backend server
# Requirement
- Django1.11
pip install django1.11
- Channels 1.1.1, asgi-redis1.1.0, asgiref 1.0.1
pip install daphne==1.1.0 channels==1.1.1 asgi-redis==1.1.0 asgiref==1.0.1# Environemnt install
- Install Python.
https://www.python.org/downloads/
- Install the django packages.
`bash
$ cd django_backend
$ pip install -r requirements.txt
- Database migration
$ python manage.py migrate
# Run
`bash
$python manage.py runserver :8000
## Screen