Skip to content
An automatic certificate generator for events
Python Dockerfile Shell
Branch: master
Clone or download
junron and aashutoshrathi Add dockerfile (#64)
* Add dockerfile

* Add migrations and expose port in dockerfile

* Add instructions on running in docker and new lines

* Add spacing
Latest commit 91627d0 Feb 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Fixed accessing of request data Dec 9, 2018
auth Bug fixes (#59) Dec 19, 2018
certificate_generator Bug fixes (#59) Dec 19, 2018
static Basic Setup (#10) Oct 25, 2018
.codacy.yml JWT authentication of Issuers & Receivers (#32) Nov 12, 2018
.dockerignore Add dockerfile (#64) Feb 3, 2019
.env.sample Basic Setup (#10) Oct 25, 2018
.gitignore Port to pipenv (#47) Nov 22, 2018
.travis.yml Travis warnings and migrations fixed Nov 25, 2018 Added CONTRIBUTING.MD Oct 23, 2018
Dockerfile Add dockerfile (#64) Feb 3, 2019 Add LICENSE and update instructions Nov 22, 2018
Pipfile Update Pipfile.lock Feb 2, 2019
Pipfile.lock Update Pipfile.lock Feb 2, 2019
Procfile Procfile updated (#45) Nov 22, 2018 Add dockerfile (#64) Feb 3, 2019 Refactor Code as per PEP8 (#22) Oct 28, 2018
pytest.ini pytest django added (#49) Nov 23, 2018
requirements.txt Add dockerfile (#64) Feb 3, 2019
runtime.txt 🔒 Fix Security Issues with version (#62) Feb 2, 2019

Certificate Generator Server

Codacy Badge Build Status Gitter

An automatic certificate generator for events according to multiple input files like csv, xlsx, numbers and shoots emails with generated certificates.

Setting up environment

  • Install pipenv
pip install pipenv
  • Create a pipenv
pipenv shell

As soon as the shell is ready,

  • Run the following command to install the dependencies
pipenv install

The above command will install all of the dependencies.

  • Set up environmental variables using:
cp .env.sample .env

Now edit .env and fill the generated .env file with your credentials to run it locally.


python makemigrations api
python migrate
python runserver

To stop the server, press Ctrl + C and deactivate the virtual environment using deactivate command.

Running in docker

  1. Build image
sudo docker build . -t cert-gen-server:latest
  1. Run container
sudo docker run -d --name cert-gen cert-gen-server:latest
  1. If you want to add packages, you would need to get a shell as root:
sudo docker exec --it --user root cert-gen sh

# In docker container
apk add curl

Post setup instructions

Instead of adding new dependencies to requirements.txt, simply run:

pipenv install <package-name>

to install it inside pipenv and add it to Pipfile.

To lock the dependencies for deployment, run:

pipenv lock

Setting up project

1. Fork this project by clicking the Fork button on top right corner of this page.

2. Clone the repository by running following command in git:

$ git clone[YOUR-USERNAME]/certificate-generator-server.git


1. Make reasonable changes.

2. Add all changes by running this command on the terminal/command prompt:

$ git add .

Or to add specific files only, run this command:

$ git add path/to/your/file

Make sure you replace path/to/your/file with the actual path to the file you want to add to the staging area.

3. Commit changes.


4. Push your changes.

$ git push origin

5. Create a Pull Request by clicking the New pull request button on your repository page.

6. Always Squash your commits when sending the Pull request

NOTE Make sure that you include a desription of changes made by you.


If you need any help anywhere in the process, you can always ask a question on our Gitter Chat.


This project is currently licensed under the GNU General Public License v3. i.e. we guarantee end users the freedom to run, study, share, and modify the software.

To obtain the software under a different license, please contact JBossOutreach.

You can’t perform that action at this time.