Skip to content

Automation script that creates a harvard referance for the user which are then stored within a text file for easy retrievel.

Notifications You must be signed in to change notification settings

N00rAhmed/Referance-Generater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference Generator

Introduction

This python automation program creates a harvard referance for the user by having the user input the header, year of publish and URL of the web page. All references are stored in one location within a text file for easy retrievel.

Prerequisites

You can follow these instructions to setup the developer environment:

  • Install BeautifulSoup
  • Install Requests
pip install beautifulsoup4
pip install requests

Run Python Application

Referance.py

Docker

Download Docker Desktop for Mac or Windows. This solution uses Python3 and Python libraries.

Build Command

Build the image, this may take some time. After your image is built, you can view your image in the Images tab in Docker Desktop.

docker build -t reference-program-dockerisation .

The -t flag tags your image with a name, reference-program-dockerisation in this case. And the . lets Docker know where it can find the Dockerfile.

Run Command

To run the program type this command:

docker run -i -t reference-program-dockerisation

Run Unit Test

python -m unittest Test_Referance

About

Automation script that creates a harvard referance for the user which are then stored within a text file for easy retrievel.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published