{"id":23709743,"url":"https://github.com/imio/buildout.website","last_synced_at":"2025-09-03T16:32:03.565Z","repository":{"id":17329673,"uuid":"20100737","full_name":"IMIO/buildout.website","owner":"IMIO","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-11T06:40:53.000Z","size":8147,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":22,"default_branch":"main","last_synced_at":"2024-07-11T10:27:43.701Z","etag":null,"topics":["iasmartweb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IMIO.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-23T13:37:48.000Z","updated_at":"2024-07-11T06:41:01.000Z","dependencies_parsed_at":"2023-11-14T09:25:50.381Z","dependency_job_id":null,"html_url":"https://github.com/IMIO/buildout.website","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMIO%2Fbuildout.website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMIO%2Fbuildout.website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMIO%2Fbuildout.website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMIO%2Fbuildout.website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IMIO","download_url":"https://codeload.github.com/IMIO/buildout.website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231902081,"owners_count":18443330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iasmartweb"],"created_at":"2024-12-30T18:57:59.396Z","updated_at":"2024-12-30T18:57:59.829Z","avatar_url":"https://github.com/IMIO.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n------------\nThis buildout assemble all related configuration of the application zope instance of the iMio iA.Smartweb app.\n\n.. contents:: Table of contents\n\nPrerequisite\n-------------\nTo make a release you need to:\n\n- Install zest.releaser\n\nAfter that, you can make a release with `zest.releaser \u003chttps://pypi.org/project/zest.releaser/\u003e`_\n\nDeploy on staging\n-----------------\nEach commit on this repository launch a new version of iA.Smartweb app on your staging instances.\n\nIf you want to avoid a new release, you have to add **[ci skip]** on your commit message.\n\nTo update a package:\n\n- Update version of the package on versions-base.cfg\n- Complete changelog on CHANGES.rst\n\nDeploy on production\n--------------------\nA buildout release is used to deploy all changes on production. Before making a release, you need to check if:\n\n- your repo is up to date (eg. use ``git pull`` command)\n- changelog is filled (see CHANGES.rst file)\n\nRelease\n=======\nAs explain in `Prerequisite`_ we use `zest.releaser \u003chttps://pypi.org/project/zest.releaser/\u003e`_ so you just have to make:\n\n    fullrelease\n\nAnd that's all. Jenkins will deploy latest docker image on production and restart services next night.\n\n\nGet data locally\n----------------\nYou can get data from production instance on our local env with this command::\n\n    make rsync\n\nYou can use blobs or data args (b for blobstorage, d for Data.fs)::\n\n    make rsync d\n\nDev\n---\nStart developping::\n\n  make dev\n\nand start instance::\n\n  ./bin/instance fg\n\nDev with docker\n---------------\nFirst you have to install docker and docker-compose\n\nAfter that, you have to build local image and up container::\n\n    make build\n    make up\n\nor you can build and go to container, add some pdb and start instance like this::\n\n    make build\n    make bash\n    # *change what you want*\n    bin/instance-debug fg\n\n.env file\n----------\n.env file is used to get some information about project you are working on\n\nlist of keys :\n    - uid\n    - projectid\n    - servername\n    - minisites\n\nexample ::\n\n    uid=1000\n    projectid=liege\n    servername=staging.lan.imio.be\n    minisites=['/fr/decouvrir/culture/musees/la-boverie']\n\nYou can generate .env file with `make env` command\n\nMinisites\n---------\n::\n\n  make minisites\n\nCreate minisites ini files (in var/instance/minisites folder) and generate traefik.toml file\nYou can see minisite urls on http://portal.localhost/minisites_panel when instance is up.\n\nMonitoring\n----------\nYou can monitor your instance with these command::\n\n  echo 'uptime' | nc -i 1 localhost 8888\n  echo 'stats' | nc -i 1 localhost 8888\n\nOr connect to port 8888 with telnet\n\nAll available monitoring command can get with this command::\n\n  echo 'help' | nc -i 1 localhost 8888\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimio%2Fbuildout.website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimio%2Fbuildout.website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimio%2Fbuildout.website/lists"}