This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from jsonrpclib import Server as ServerProxy | |
| import base64 | |
| import jsonrpclib | |
| import json | |
| class AdminTrytonException(Exception): | |
| def __init__(self, result): | |
| self.result = result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| import csv | |
| from proteus import config, Model, Wizard | |
| from xmlrpclib import Fault | |
| from datetime import date | |
| def init_database(module_name): | |
| Module = Model.get('ir.module.module') | |
| (school_module,) = Module.find([('name', '=', module_name)]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:apache | |
| RUN apt-get update \ | |
| && apt-get install --yes --no-install-recommends libpq-dev \ | |
| && docker-php-ext-install pdo_pgsql pdo_mysql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:jessie | |
| ENV USER=boatswain USER_ID=1000 USER_GID=1000 | |
| # now creating user | |
| RUN groupadd --gid "${USER_GID}" "${USER}" && \ | |
| useradd \ | |
| --uid ${USER_ID} \ | |
| --gid ${USER_GID} \ | |
| --create-home \ |
OlderNewer