Skip to content

A simple live recording application written in Django and using the Ajax technology

License

Notifications You must be signed in to change notification settings

Sirneij/django-ajax-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Ajax recording

This is the follow-up repository for the live recording tutorial on dev.to

Run locally

To run locally

  • Clone this repo:
     git clone https://github.com/Sirneij/django-ajax-record.git
    
  • Change directory into the folder:
     cd django-ajax-record
    
  • Create a virtual environment:
     virtualenv -p python3.8 env
    
    You might opt for other dependencies management tools such as pipenv or venv. It's up to you.
  • Activate the environment:
    • For Linux and Mac machines
      source env/bin/activate
      
    • For Windows machine:
      .\env\Scripts\activate
      
  • Install the dependencies:
    pip install -r requirements.txt
    
  • Modify core/models.py if you are not using Cloudinary as your storage service.
    • From
      voice_record = models.FileField(upload_to="records", storage=RawMediaCloudinaryStorage())
    
    • To
      voice_record = models.FileField(upload_to="records")
    
  • Make migrations and migrate the database:
     python manage.py makemigrations
     python manage.py migrate
    
  • Finally, run the application:
     python manage.py runserver
    
    Visit http://localhost:8000 in your browser

Live version

This application is currentlly live here

About

A simple live recording application written in Django and using the Ajax technology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages