Skip to content

MDMOQADDAS/RegistrationApp

Repository files navigation

RegistrationApp

This is Flask and MongoDB based app

How App Look Like?

Here We have to put the details.

image

After the details this page come up, if seat confirmed then you'll get a mail

image

See this is a mail you'll get.

image

Now see if any client put wrong info then

image image

Now let's see the database all the data store in MongoDB or not?

image

Requirement

This app is a combination of three tools

Ansible

MongoDB

Flask

So just install above software in Linux Operationg System

Open the file

sudo vim password.txt

Putt the password for ansible-vault

Open the file

sudo vim vault.yml
Putt the value as
gmail: gmail
password: pass
Run below command
ansible-vault encrypt vault.yml --vault-password-file password.txt



Open the file sudo vim app.yml
replace IP and port number

image

Create the mongodb database called lw
Create the collections called flask

You creat and db and collection names if you do this you have to change. image

How to Create Jenkins Job

  1. Click on New Item image

  2. Do this image

  3. Add the variable app_version

  4. Add the credential of centralized docker registery, username and password

$dockerUser and $dockerpassword

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published