# om-collections **Repository Path**: kaede10/om-collections ## Basic Information - **Project Name**: om-collections - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 22 - **Created**: 2021-12-10 - **Last Updated**: 2024-09-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # om-collections Operation system for opensource community. such as: [openEuler](https://openeuler.org/zh/), [mindSpore](https://www.mindspore.cn/) ## Download ``` $ git clone https://gitee.com/opensourceway/om-collections ``` ## Usage ``` cd om-collections pip3 install -r requirement.txt python george.py ``` ## Example of config file: [config.ini](https://gitee.com/opensourceway/om-collections/blob/master/config.ini) ``` [general] from_data=20200504 es_url=https://127.0.0.1:9200 sleep_time=28800 authorization=Basic xfdjgyttufhggfgfdfgdgfdhgfhgfhg [baidutongji] index_name=baidutongji is_enterprise=true username=baidutongji_user_name password=xxxxxxxx token=dsdfsdfoiuomerkjoiu342374lkjd897234 site_id=37834763 [mailman] index_name=maillist_user mailman_core_endpoint=http://mailman-xcfdfsdf:8001/3.1 mailman_core_user=admin mailman_core_password=password mailman_core_domain_name=cokdfe.org ``` ## Build docker image ``` git clone https://gitee.com/opensourceway/om-collections cd .. docker build -t om:0.0.2 . ``` run docker image ``` docker run -v /local_path/config.ini:/var/lib/om/config.ini -v /local_path/users:/var/lib/om/users -d om:0.0.2 ``` ## Push docker image to repository (Option) ``` docker tag om:0.0.2 swr.cn-north-4.myhuaweicloud.com/om/om-collection:0.0.2 docker push swr.cn-north-4.myhuaweicloud.com/om/om-collection:0.0.2 ``` ## How to test it ``` # run all unit tests python3 -m unittest # run signal model test python3 -m unittest test_common ```