Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 778 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 778 Bytes

django-rest-user-activies

  1. Clone the project using the command " git clone https://github.com/itssunny322/User_activity.git " .

  2. Create python virtual environment using command " python3 -m venv /path/to/new/virtualEnvironment".

  3. Activate virtual environment you created " source virtualEnvironment/bin/activate"

  4. Install requirements using the command " pip install -r requirements.txt"

  5. Make migrations and migrate using the command " python manage.py makemigrations " and "python manage.py makemigrations"

  6. At last run django server using command "python manage.py runserver"

  7. Open http://127.0.0.1:8000/api/users

  8. used to populate the data management command "python manage.py add_user_activities"

  9. check again http://127.0.0.1:8000/api/users