Certificate Generation and Verification System project aims in developing a computerized system to maintain and generate the certificate. It has an admin login through which the admin can monitor the whole system. It also has a facility where users after logging in to their account can monitor and generate a certificate for their particular user. Admin will manage user logins, will have the option to deactivate any user. Every time any changes are done an automated email will be sent depending on the update. Overall this project is being developed to help the users in the best way possible and also to reduce human efforts.
Feel free to use it as-is or customize it as much as you want.
But if you want to Contribute and make this much better for other developer have a look at Issues.
If you created something awesome and want to contribute then feel free to open Please don't hesitate to open an Pull Request.
There are two ways of using the project:
1. Clone this repository to your local drive
$ git clone https://github.com/vigneshshettyin/Flask-Generate-Certificate.git
2. Change directory into the cloned repository
$ cd Flask-Generate-Certificate
3. Setup virtual environment
$ py -m venv env
$ .\env\Scripts\activate
4. Install requirements from requirements.txt
$ pip3 install -r requirements.txt
5. Setup Database
- To initialise a new database
python manage.py db init
- To migrate changes in the database
python manage.py db migrate
- To update the database with the new migrations
python manage.py db upgrade
- To degrade the database
python manage.py db downgrade
Note : Users need to run the upgrade command only during the project setup since the initial migrations have already been done. It just need to be applied using the python manage.py db upgrade
command.
6. Run the development server
$ flask run
Now open your favorite browser and go to http://127.0.0.1:5000/ You will find the application running there.
-
Install Docker, from the given link.
-
Once Docker is installed, use the following two commands to run the app in the root dicrectory:
docker-compose build
, This command will build the projectCOMPOSE_HTTP_TIMEOUT=200 docker-compose up
, This command will run the container.
-
You can open the project on
localhost:5000
on the machine.
Note: If you are using docker-desktop on Windows Or WSL2 i.e Windows Subsystem For Linux, you can use the GUI Options to run the containers
Click Here to view the deployment!
When you are done with the setup, you should host your website online.
We highly recommend to read through the:
- Deploying on Heroku.
- Deploying on AWS.
- Deploying on Azure.
- Deploying on Google Cloud.
- Deploying on Digital Ocean.
- GirlScript Summer of Code is the 3 month long Open Source program conducted by GirlScript Foundation, started in 2018, with an aim to help beginners get started with Open Source Development while encouraging diversity.
This project is licensed under the MPL-2.0 License. See the LICENSE file for details
If you can help us with these. Please don't hesitate to open a Pull Request.