Code Monkey home page Code Monkey logo

comp90024-g36's Introduction

Group members:
Peiyi Wang / Lixia Deng / Heming Li / Guannan Li / Shuohang Hu
This Ansible document is for one-click deployment automation, including creating virtual machines, deploying running environment, setting up CouchDB cluster by Docker, uploading harvesters and web applications to the server and launching them all.

To ensure it run successfully, please do:
1. Run ansible on a Ubuntu server in UOM internal network environment.
2. Install ansible with version > 2.5.2 and python3
3. put the all files in ansible directory to the path "/home/ubuntu/ansible"
4. run the command:
	cd /home/ubuntu/ansible
	dos2unix execution.sh
	bash execution.sh


ansible
├── aurin                    # AURIN data and the python script used to process them
├── harvesters               # python applications that harvest tweets from tweepy API
├── host_vars                # vars file for playbook "launch_instance"
├── roles                    # ansible roles called by playbooks
│   ├── install_couchdb 
│   ├── install_docker
│   ├── instance_common
│   ├── openstack_instance     
│   ├── openstack_local_set    
│   ├── openstack_security_groups_and_rules      
│   ├── openstack_volume
│   ├── setup_cluster  
│   ├── setup_tomcat    
├── view                             # json files that stores views in CouchDB
│   ├── designDocForAurin.json
│   ├── designDocForTweets.json
│   ├── viewCreator.py               # python script that transfers json to views
├── web                              # All web application that needs to be put in tomcat 
├── ansible.cfg                      # self-defined CouchDB configuration file
├── couchdb_and_cluster.yaml 
├── execution.sh                     # shell script that calls all the ansible-playbooks
├── import_ip_to_hosts.py            # python script that retrieves and stores IP of instances
├── install_docker.yaml
├── instance_common_setup.yaml
├── launch_instance.yaml
├── README
├── second.pem                       # the private key that used to SSH all the instances
├── setup_instance_proxy.yaml
├── test_connection.yaml
├── unimelb-comp90024-group-36-openrc.sh  # shell script to be sourced before launching instances
├── upload_and_run_harvester.yaml  
├── webserver_setup.yaml
├── harvester1.sh                         # shell script used to launch harvester1
├── harvester2.sh                         # shell script used to launch harvester2
├── harvester3.sh                         # shell script used to launch harvester3

comp90024-g36's People

Contributors

fengyue723 avatar guannandunkli avatar lissadeng avatar legend1017 avatar

Stargazers

 avatar

Watchers

James Cloos 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.