Giter Site home page Giter Site logo

ilhemfaj / xos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-cloud/xos

0.0 3.0 0.0 5.09 MB

Source code for XOS, the Cloud OS running on OpenCloud and CORD

Home Page: http://xosproject.org

License: Apache License 2.0

Makefile 0.09% Shell 0.63% Python 50.10% HTML 22.17% CSS 1.27% JavaScript 25.74%

xos's Introduction

The Dockerfile in this directory will build a Docker image for running
XOS using the Django development server.  It copies whatever files are 
in the local repository into the image. Here's how to do it:

1. A minimal initial_data.json is provided. The login credentials
   for this initial_data.json are [email protected], 
   password=letmein.

   This initial_data.json doesn't contain any nodes and is suitable
   for fresh installations. To obtain an initial_data.json (for demo
   purposes) that contains an interesting set of Nodes and Slices,
   a dump can be made on portal.opencloud.us:

   1) log in to portal, and run:
         $ sudo /opt/xos/scripts/opencloud dumpdata

   2) replace the initial_data.json file with the dumpdata
      file produced above.

2. $ docker build -t xos .

3. $ docker run -t -i -p 8000:8000 xos

4. Now you will have a bash prompt as root inside the XOS container.
   Start up XOS:
   
   # /opt/xos/scripts/opencloud runserver

You can access the XOS login at http:<server>:8000, where <server> is
the name of the server running Docker.

5. From another terminal window, you can run following command to find
the running container id

   $ docker ps
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                    NAMES
    a3b668454d21        xos:latest          "/bin/bash"         3 hours ago         Up 3 hours          0.0.0.0:8000->8000/tcp   romantic_bohr

and then you can have another bash prompt (in a different TTY) as root inside the XOS container.

   $ docker exec -it a3b668454d21 bash

and start observer

    # python /opt/xos/xos-observer.py

STILL TO DO
-----------
* Test Observer

xos's People

Contributors

smbaker avatar sb98052 avatar tmack-pl avatar caglar10ur avatar sbconsulting avatar tmackgit avatar

Watchers

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