Himanshusinghaiml / CBT

Advance online exam portal and automatic proctoring with the help AI
0 stars 1 forks source link

DATABASE 'cbt' is missing in repo #1

Open Imransh1 opened 9 months ago

Imransh1 commented 9 months ago

Please share the db 'cbt' to be able to clone it

Himanshusinghaiml commented 9 months ago

after cloning the repo make sure run two commands one by one ;-

python manage.py makemigrations python manage.py migrate

then run your server python manage.py runserver

Imransh1 commented 9 months ago

Screenshot from 2023-12-06 14-57-02 Screenshot from 2023-12-06 14-55-56

Here's what I am getting. If I try with the credentials that you have saved then I get an access denied error

Himanshusinghaiml commented 9 months ago

this is my local database configuration (mysql) , if u have mysql in your machine then create your user and database and set there configuration ..

Himanshusinghaiml commented 9 months ago

leave it simple u use sqlite3 database inbuilt in django framework set it now it will work :- DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } }

Himanshusinghaiml commented 9 months ago

mail it if u have any issue further : - Himanshusingh945443@gmail.com

Himanshusinghaiml commented 9 months ago

Now everything is up -to-date , clone the repo again and run the application as i mentioned in readme file .