Code Monkey home page Code Monkey logo

trac-openshift-quickstart's Introduction

Trac on OpenShift

This git repository helps you get up and running quickly with a Trac installation on OpenShift. The bankend database can by sqlite, MySQL or PostgreSQL, depending on the cartridges that are installed when the application is launched.

This quickstart contains the base Trac installation, as well as TracAccountManager.

Running on OpenShift

  1. Create an account at http://www.openshift.com/ and install the client tools (run 'rhc setup' first)

  2. Create a Python 2.7 application, with the cartridge containing the database you want. If you do not install a database cartridge at this time, the default sqlite database will be used.

    For example:

    rhc app create trac python-2.7 mysql-5 --from-code=https://github.com/kelvinmo/trac-openshift-quickstart
    
  3. You will need to create a Trac administration account manually. SSH to the instance and run the following command:

    trac-admin $OPENSHIFT_DATA_DIR/trac/env permission add <user_name> TRAC_ADMIN

  4. That's it, you can now checkout your application at:

    http://trac-$yournamespace.rhcloud.com

Notes

Source code repository

You will need to set up access to the source code repository manually in the OpenShift data directory.

Directories

The Trac environment directory is located at $OPENSHIFT_DATA_DIR/trac.

trac-openshift-quickstart's People

Contributors

kelvinmo avatar

Watchers

psweatte 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.