Installtion steps:
- take pull of repo.
- create python 3 virtual environment.install dependencies using pip install -r requirments.txt
- migrate database using python manage.py makemigrations
- then you can start using python manage.py runserver
DB_Dump:
- There is dump file in db_dump directory where you cant take dump of database using following command a) create database ces_backend_test b) psql ces_backend_test < ces_backend_test.sql
This db has following account.
-
Admin email : [email protected] password : admin123
-
Developer: email : [email protected], [email protected], [email protected] password: password
-
Examiner: email : [email protected] password : password
Sites:
- blogger, blogcupid, tenblogger, gamesweek, tenblogger as active sites, Nine as proposed site, Ten as inactive site.
Site Data Param:
- Page View 2)Like Count
Starting Cron job you have run following command in two separate terminal
-
celery -A ces_backend worker -l info -E
-
celery -A ces_backend beat -l info
If you dont take dump of sql file . you have to create all the user's account , sites as well insert site data for users in order to start cron.
Details:
-
Developer dashboard will see 3 dropdown with its linked blogging sites linked done by admin.
-
Developer Sites detail page where it will show graph of instantaneous value and lifetime value against datetime of 2 params namely page views and like count.
- Update Progile page.
- Examiner views of site data where he can see all data object.
- Admin Dashboard
- Admin : User table
- Admin : Site table
- Admin : User-Site table
- Admin : Site data table