Instagram clone

This app uses django to recreate a clone version of the popular app instagram.


## Getting Started

Prerequisites

  1.Git
  2.Python: 3.6.4 versions
  3.Django: 1.11 or greater version
  4.Have Internet connection
  5.Virtual Environment
  6.Gunicorn
  7.Chrome Browser

Follow this procedure to get my project up and running in your Desktop or Laptop.

> Install Django Framework '''$pip install django==1.11'''
> Install Python Version --3.6.4
> Install gunicorn in (virtual) -python3.6 -m pip install gunicorn
> Install the Heroku Cli
> $ git clone https://github.com/MrazTevin/Instagram-clone.git
> $ Python3.6 -m venv Virtual
> $ Source virtual/bin/activate

Coding style Tests

  • This tests will enable us write methods that we need for our app to function, which we will include in our models file
  def test_save_method(self):
        self.family.save_image()
        image = Image.objects.all()
        self.assertTrue(len(image) > 0) 
    
    def test_delete_method(self):
        self.family = Image(image_name='family')
        self.family.save_image()
        self.family.delete_image()
        image = Image.objects.all() 
        self.assertFalse(image)

## Built With

Authors

Acknowledgments

  • Moringa School