Giter Site home page Giter Site logo

ahmedalazazy / devopsloft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devopsloft/devopsloft

0.0 2.0 1.0 989 KB

DevOps Loft community app

Home Page: http://www.devopsloft.io

HTML 22.04% Shell 9.17% CSS 2.31% Python 62.43% Dockerfile 2.50% Batchfile 1.04% TSQL 0.52%

devopsloft's Introduction

Build Status

drawing

Contributing

Spinning [dev|stage] environment

Global Prerequisites
  • python 3
  • vagrant
  • vagrant plugin: vagrant-env
  • Use `.env.local` file for configuration keys which overrides `.env`

DEV environment

Prerequisites
  • VirtualBox
  • Verify /vault directory exists and is writable
  • Install the following packages:
  • virtualbox
  • fabric3
  • docker-compose

STAGE environment

Prerequisites
  • AWS account
  • AWS credentials: access key & access secret
  • keypair
  • subnet ID
  • Security Group with inbound ports for SSH (22), HTTP (80), HTTPS (443), and 8200
  • AWS S3 Bucket
Installation Requirements

On Linux, run the following commands

python -m venv ~/devopsloft_venv
source ~/devopsloft_venv/bin/active
pip install -r requirements.txt

Also make sure you have Docker installed on the system where you plan to run the application.

Run the app
  1. In the root directory of the project run docker build -t spinner .
  2. Run docker run -t -d --name spincontainer -v /var/run/docker.sock:/var/run/docker.sock spinner
  3. Run docker exec -it spincontainer bash
  4. Run python spin-docker.py
Cleanup Environment

Run the following to cleanup your environment

  1. deactivate && rm -r ~/devopsloft_venv
  2. docker rm -f spincontainer
  3. docker rmi spinner

devopsloft's People

Contributors

lmilbaum avatar balex3000 avatar ynixon avatar noamhasingit avatar yishaiz avatar royhershko avatar mrgoroz avatar leonpalo avatar noamgu avatar omribarzik avatar cjcj56 avatar bregman-arie avatar guydev1 avatar nitishvelu avatar arielgordon123 avatar greycat001 avatar vadimsh avatar yaaraha avatar

Watchers

James Cloos avatar  avatar

Forkers

mbarakat1980

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.