Skip to content

Satej/MessageCast

 
 

Repository files navigation

gunicorn --bind 0.0.0.0:8000 AgStackRegistry.wsgi:application

##This project is built using Django Restframework

All views are thouroughly commented for reference 
deployed using nginx & gunicorn
Using postgres database

msg (username-timestamp-geolocation)

Django 4.0 was not compatible with django-pwa, so downgraded Django to 3.2

##Elastic search implementation requirements on server

FOR IMPLEMENTING ELASTIC SEARCH

need to run the following command on screen, i.e. elasticsearch server

  • ./elasticsearch-7.3.0/bin/elasticsearch

also need to rebuild index after changes in the code

  • python manage.py search_index --rebuild

Start anew

  • download project from repository
  • install python from https://www.python.org/downloads/
  • download elastic search as mentioned above
  • cd to the directory
  • run the following commands: pip install -r requirements.txt python manage.py makemigrations python manage.py migrate python manage.py createsuperuser
  • fill out the prompts to create an admin user
  • to start the project everytime: python manage.py runserver
  • now go and check 127.0.0.1 in the local browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 37.1%
  • CSS 34.7%
  • HTML 15.5%
  • Python 12.7%