Giter Site home page Giter Site logo

site's Introduction

PyVe Site.

On this branch you will find all the set of content to manage the PyVE Site.

Reasons because a module can be here.

  1. Is a new content for pyve.
  2. Is an improvement to the theme for PyVe.
  3. Is a Tool to manage such site.

If you are not on 1, 2 or 3: please create a website_* module in the OCA.

CI Status. | Build Status |

Test alive last changes online.

Build Status

This tests is what I need "only" tested/mixed with dependency repositories, and tested 1 by 1 modules on this repository in order to be sure they are all installables.

TODO: Build Status. Intalando dependencias.

La Forma más sencilla es instalandolo con los comandos recomendados por odoo en su README.

Repositories which we depend from.

| Repository | Travis | Shippable | Coveral | Runbot | |----------------------------|------|------|-------|----------|---------| | odoo/odoo | N/A | WIP | WIP | WIP | |

Hacking Our Website

Every module can work independent or not, you can find the app installer on this repository, please check the README file there for more precise information.

The main idea is create a little how-to commit by commit to know how create our own features, website features and services offers in a clean way.

For more documentation about "How to do things on Odoo" please refer the official documentation for such tool, this is only an Odoo Module.

How add a new features:

  1. Clone this repository:

    $ git clone [email protected]:pyve/site.git -b 8.0
    $ cd site
    $ git remote add pyve-dev [email protected]:pyve-dev/site.git # << to push your changes
  2. Install all odoo's dependencies (read travis folder and the requirements.txt file for more information). note: You will need some non normal packages (npm and lessc to be precise) when you have v8.0 normally installed, run this command in order to have them all in linux and avoid unexpected runtimes.

  3. Create your own branch locally.

    $ git checkout -b 8.0-your_new_feature_theme
  4. Push your first change branch to know you start to work on. note: remember if you are using a remote personal do not use origen use your_remote instead.

    $ git push -u origin 8.0-your_new_feature_theme
  5. Prepare your enviroment to work with this repository and the mandatory ones to have all the enviroment ready.

    $ git clone https://github.com/odoo/odoo.git -b 8.0
    $ git clone https://github.com/pyve/site.git -b 8.0
  6. Create a postgres user (only for this work to avoid problems not related to this enviroment).

    $ sudo su postgres
    $ createuser siteuser -P
    # put your password just (1) for example.
    $ createdb site -U siteuser -O siteuser -T remplate0 -E UTF8
  7. Run the development enviroment.

    $ cd path/to/odoo/odoo
    $ ./openerp-server --addons-path=addons/,../site -r \
    siteuser -w 1 --db-filter=site \
    -i www_pyve_com -d site
  8. Do your code, and update it passing -u module -d site (replacing this paramenter above).

  9. Before be sure all is ok, we can delete and create db again with -i paramenter to ensure all install correctly.

    $ sudo su postgres
    $ dropbd site
    $ createdb site -U siteuser -O siteuser -T remplate0 -E UTF8
    $ ./openerp-server --addons-path=addons/,../site -r \
    siteuser -w 1 --db-filter=site \
    -i www_pyve_com -d site
  10. If all is ok installing, please test your enviroment running your code with ‘test-enabled’.

    $ ./openerp-server --addons-path=addons/,../site -r \
    siteuser -w 1 --db-filter=site \
    -i www_pyve_com -d site --test-enable

Note:

This will take a time, just do it before commit your change and make push.
  1. Add your changes to have them versioned.

    $ git add .
  2. Commit your changes.

    $ git commit -m "[TAG] module: what you did"
  3. Push your first change branch to know you start to work on.

    $ git push -u pyve-dev 8.0-your_new_feature_theme
  4. Make a PR with your changes as you usually do it with graphical interface or using hub.

site's People

Contributors

nhomar avatar

Watchers

 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.