Coder Social home page Coder Social logo

openshift-odoo-quickstart's Introduction

Odoo on OpenShift

This git repository helps you get up and running quickly an Odoo installation on OpenShift.

Running on OpenShift

Create an account at https://www.openshift.com

Install the RHC client tools if you have not already done so:

sudo gem install rhc
rhc setup

Create a python application

rhc app create myodoo python-2.7 posgresql-9.2

Add this upstream repo

cd myodoo
git remote add upstream -m master https://github.com/dreispt/openshift-odoo-quickstart.git
git pull -s recursive -X theirs upstream master

Then push the repo upstream

git push

The database admin password will generated and displayed during the app deployment.

That's it. You can now check your application at:

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

Database admin password

The database management admin password is randomly generated during the deployment. Look for a “Admin password” line of the git push output. It is stored in the environment variable ODOO_ADMIN_PASSWD.

Odoo Cron jobs

An Odoo cron worker will also be launched,

Longpolling

Since gears can only expose a single port to the outside, this app won’t be able to also expose the longpolling port.

Attachment storage

By default Odoo saves attached files to disk. They will be saved inside the gear data directory, but since the space available is limited, you would be better by configuring Odoo to save attachments to the PostgreSQL database.

Odoo configuration

The app uses the odoo.conf configuration file at the root directory, Feel free to tune it’s parameters,

openshift-odoo-quickstart's People

Contributors

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