Assessment Generator Documentation
Introduction
This application allows user to design a question paper, create multiple versions and sets based on the design and allocate to participants.
The objective of this module is to add following features in the system:
- 1. To design a blueprint for a question paper ensuring randomization of questions and question paper by adding version creation features.
- 2. Perform allocation of different sets and versions of question paper based on user requirements.
Installation
Instructions on how to set up the project locally by configuring Odoo(version 15) with Pycharm in Windows
- Install Pycharm community Edition from the given link. Download Pycharm
- Download and Install Odoo 15 from the given link. Download Odoo 15
-
Navigate to Odoo folder
C:\ProgramFiles\Odoo15\Server
-
Cut
odoo.conf
from this location and save it in another drive folder. -
Open PyCharm and
“Run as Administrator”
-
Open Project
C:\ProgramFiles\Odoo15
(This will take some time) -
Copy
server\debian\odoo.conf
file to server\folder -
Query postgres user through cmd: Open cmd from the path
C:\ProgramFiles\Odoo15\PostgreSQL\bin
(i.e. type cmd from this path) -
In the cmd write the following command
( Note: This is a screenshot from odoo13 tutorial but works
for odoo 15 as well)
‘admin’
can be replaced with the username of PostgreSQL that was already given during odoo15 installation (default is openpg). -
Press Enter
-
Enter the password for the new role odoov15 twice as required and press enter
-
Enter the password of postgresSQL that was given during odoo installation. Press Enter. Close cmd.
-
Return to project in Pycharm and modify
odoo.conf
in server folder as below. (Replace with correct data as given in previous cmd step) -
Copy default addons path from the odoo.conf that was cut and copied to another folder in step 3.
Replace the addons path in
server\odoo.conf
with this . -
Add xmlrpc_port as below
-
In PyCharm go to
“File” menu - > “Settings”->”Project - Odoo15”-> “Python Interpreter”
Go to settings-> Add
-
Create a new virtual environment >
Change base interpreter with Python.exe inside Odoo folder as below
Enable checkboxes as below
Press OK. This will create a new virtual environment for Odoo15. It will install all packages and libraries needed for Odoo. NOTE: This will take some time.
All packages installed will be seen as above. Press OK. Takes some time for updating.
-
Add configuration for the project. Click on
Add configuration
.(Or from “Run” Menu “Edit configuration”)Click
Add New configuration.
Select Python
Give a name for configuration. Click
Apply
after updating Script path and paramaters fields. Press OK. -
Now Click Run. Script will be executed. Check
localhost:8070
in browser and confirm it runs as required.