Coder Social home page Coder Social logo

ubaada / ai-birdwatcher-diary-aws Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 3.03 MB

Bird autodetect diary hosted on AWS. Frontend (HTML-CSS-JS) & Backend(PHP-SQL & Python AI)

Python 13.91% PHP 21.26% HTML 48.63% JavaScript 16.19%
cloud-computing html-css-javascript java

ai-birdwatcher-diary-aws's Introduction

AI-Birdwatcher-Diary

Easier way of keeping record of your bird sightings by automatically recognizing the species from their images and storing them in a database.

Preview

Video demonstration of what deploying the project would look like on AWS.

Demonstration

Requirements

You need:

  • Vagrant
  • vagrant-aws plugin
  • Git (optional)

Design

(Read aws-report.pdf for detailed info)

image

Deploying

Cd into folder you want this project to be and run

git clone https://github.com/ubaada/AI-Birdwatcher-Diary.git

(or you can download the .zip file directly from GitHub.)

  1. Set up a Security Group in AWS console: Inbound Rules:
Type Protocol Port range Source Description - optional
HTTP TCP 80 0.0.0.0/0 Public web access
HTTP TCP 80 ::/0 Allow all outbound traffic
All TCP TCP 0 - 65535 [id-of-same-security group] Inter-VM (ec2-db) Communication
SSH TCP 22 0.0.0.0/0 SSH for admin

Outbound rules:

Type Protocol Port range Source Description - optional
All traffic All All 0.0.0.0/0 Allow all outbound traffic
  1. Set up SSH: For SSH to work create a key-pair named “cosc349-l.pem” in AWS console. AWS does not allow SSH login via passwords. Place the key file in ~/.ssh
  2. Create an AWS RDS MySQL database using AWS console.
  3. Clone the git repo and CD into it. Edit the VMs in Vagrantfile to have your AWS Security Group.
  4. Set up database details in .config/db-config.php file in the cloned repo:
 <?php
 $db_host   = '[end-point-here]:[port-number-usually-3306]';
 $db_name   = '';
 $db_user   = '';
 $db_passwd = '';
 ?>
  1. Install vagrant-aws plugin: $ vagrant plugin install vagrant-aws
  2. Set up the AWS environment variables for Vagrant to be able to talk with AWS.
  3. Start Vagrant deployment: $ vagrant up --provider=aws

ai-birdwatcher-diary-aws's People

Contributors

ubaada avatar

Watchers

James Cloos avatar David Eyers avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.