CerGen is a web application which generates the certificates for the participants and send it to their corrosponding email. This application has the ability of generating the certificates for the participants who are participated in the event/contest. Also this application sends text message to the participants on their corrosponding phone number. This applicaion sends the certificate of participantion and certification of merit at the same time.
- Filter eligible participants.
- Choose templates for the certificate of participation/merit.
- Upload image of the participant receiving certificate.
- Upload images of the event album.
- Sends certificate to the individual participant.
- Downloads all generated certificates.
- Clone the project
git clone [email protected]:SiddhantTotade/cergen.git
- Open the project in the terminal. The below command opens the project in vs-code but you can choose any editor
code .
-
In the terminal type command to create a virtual environment. Prefer root directory for
venv
- The below command create a virtual environment in a specific directory
python -m venv <name_of_venv>
OR- The below command create a virtual envvironment in the current directory
python -m venv .
-
After creating
venv
, Activate it. Go to the directory in which thevenv
exists and type command
source bin/activate
- Deactivate the virtual environment.
deactivate
- Before installing the
requirements.txt
check if there is something exists or not. If the command shows nothing then nothing is installed yet
pip freeze
- After activating
venv
, install therequirements.txt
.
pip install -r requirements.txt
- After enabling the
venv
, run the command for creating migrations
python manage.py makemigrations
- After creating the migrations of all the models, run command
python manage.py migrate
- Change directory to
app
cd app
- Run the django serever
python manage.py runserver
- Now, open another terminal and change directory to cert_gen_sen_app_frontend
cd cert_gen_sen_app_frontend
- Inside react directory, run command to install node modules
npm install
- After installing node modules, start the react server
npm start
- Also you need to configure tailwind css for this project. Follow this guide to configure
https://tailwindcss.com/docs/guides/create-react-app
- Try to generate
app password
of gmail while sending certificates.