Skip to content

codertjay/upwork_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activation Virtualenv

pip -h pip install virtualenv virtualenv env

if you are using windows

env\Scripts\activate.bat

else

source env/bin/activate

installing packages ( make sure you are in the root folder)

pip install -r requirements.txt

Run Task on Windows

  • (If on Mac ) celery -A instasaw_api worker --loglevel=info
  • (If on Windows) celery -A instasaw_api worker -l info --pool=solo

open another tab

  • celery -A instasaw_api beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler

Set up the environment variables

-Use the env--sample to create your .env file and set it up

Run the Django server

Make migrations

  • python manage.py makemigrations

Migrate

  • python manage.py migrate

Run the redis server .If you are on windows you have to use wsl to install redis after install redis you run but make sure you run this in another tab

  • redis-server

Run the Django server

  • python manage.py runserver

Or Use docker instead of the

  • docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages