Skip to content

has-abi/flask-cicd

Repository files navigation

FLASK CI/CD

Installation

First, you need to clone this repository:

$ git clone https://gitlab.com/has-abi/flask-cicd.git

Then change into the flask-cicd folder:

$ cd flask-cicd

Now install pipenv with pip

$ pip install pipenv

Now, we will need to create a virtual environment and install all the dependencies:

$ pipenv shell
$ pipenv install

Runs

Before run the application, make sure you have activated the virtual enviroment.

Activate the virtual enviroment

$ pipenv shell

To start the application browse to project root where manage.py is

$ python3 manage.py run

Run tests

$ python manage.py test

Run tests with coverage

$ python manage.py cov

Application menu

  • GET (/process?text=your_text): Simple GET endpoint to process text.

About

Flask CI/CD with Gitlab CI and Github actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published