Giter Site home page Giter Site logo

troia-web's Introduction

Troia-Web

This is the docummentation site for the Troia Project. The site is created using hyde - a Python static website generator.

Project set up

Get the latest version of code:

git clone git://github.com/10clouds/Troia-Web/

Go to the project root directory and install required Python packages:

pip install -r requirements.txt
pip install -r requirements-devel.txt

Static content generation

The website can be generated with command:

hyde gen

Running

The website can be served locally (using bulti-in hyde webserver) with command:

hyde serve

Deployment

It is convinient to add your ssh public key to authorized_keys on the destination host.

You also have to prepare a configuration json based on the defaults.json.

The fabric script does all deployment work for you. It performs several different tasks.

Initialize project

For the first time you have to initialize project structure. It can be done by running the following:

fab initialize_project:confpath=path/to/conf.json -H host -u username

Deployment of the Troia web site

Just run the following:

fab deploy_troia_web:confpath=path/to/conf.json -H host -u username

Deployment of the Troia-Server

One can deploy Troia-Server .war file in the tomcat servlet container using the following command:

fab deploy_troia_server:confpath=path/to/conf.json -H host -u username

Reloading the Troia-Server configuration

If the Troia-Server configuration has been changed, one can reload it with the following command:

fab update_troia_server:confpath=path/to/conf.json -H host -u username

Reloading the web server configuration

The Nginx configuration can be updated with:

fab update_nginx:confpath=path/to/conf.json -H host -u username

troia-web's People

Contributors

borysiam avatar dmitrea avatar mickek avatar kkonrad avatar

Stargazers

Ryan Schmukler avatar Oskar Jarczyk avatar

Watchers

Jeziorsa avatar  avatar  avatar James Cloos avatar  avatar

Forkers

dkoleda

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.