# c2cgeoportal_common
## Checkout
```
git clone git@github.com:camptocamp/c2cgeoportal.git
cd common
```
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use `common/testing/initialized.py` to create the database (`development.ini` at admin side)
## Run the tests
```
make test
```
Raw data
{
"_id": null,
"home_page": "https://github.com/camptocamp/c2cgeoportal/",
"name": "c2cgeoportal-commons",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "web gis geoportail c2cgeoportal geocommune pyramid",
"author": "Camptocamp",
"author_email": "info@camptocamp.com",
"download_url": null,
"platform": null,
"description": "# c2cgeoportal_common\n\n## Checkout\n\n```\ngit clone git@github.com:camptocamp/c2cgeoportal.git\ncd common\n```\n\n## Create virtual environment\n\nmake install\n\n## Set up the tests database\n\n```\nsudo -u postgres psql -c \"CREATE USER \\\"www-data\\\" WITH PASSWORD 'www-data';\"\n\nDATABASE=geomapfish_tests\nsudo -u postgres psql -c \"CREATE DATABASE $DATABASE WITH OWNER \\\"www-data\\\";\"\nsudo -u postgres psql -d $DATABASE -c \"CREATE EXTENSION postgis;\"\n```\n\nuse `common/testing/initialized.py` to create the database (`development.ini` at admin side)\n\n## Run the tests\n\n```\nmake test\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "c2cgeoportal commons",
"version": "2.9.0.239",
"project_urls": {
"Homepage": "https://github.com/camptocamp/c2cgeoportal/"
},
"split_keywords": [
"web",
"gis",
"geoportail",
"c2cgeoportal",
"geocommune",
"pyramid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f7d51c5fad873fbf9de0894ce9e815c9b2ce74d864c69539bc81d108c73e3ab",
"md5": "baf65e0f770eea42b04e082c6c3ebb5a",
"sha256": "f178ab996624bc6ba97b9e6987de30632f9d56215e253e64ee3829e063783f22"
},
"downloads": -1,
"filename": "c2cgeoportal_commons-2.9.0.239-py3-none-any.whl",
"has_sig": false,
"md5_digest": "baf65e0f770eea42b04e082c6c3ebb5a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 151011,
"upload_time": "2025-07-29T20:28:47",
"upload_time_iso_8601": "2025-07-29T20:28:47.536459Z",
"url": "https://files.pythonhosted.org/packages/9f/7d/51c5fad873fbf9de0894ce9e815c9b2ce74d864c69539bc81d108c73e3ab/c2cgeoportal_commons-2.9.0.239-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-29 20:28:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "camptocamp",
"github_project": "c2cgeoportal",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "poetry",
"specs": [
[
"==",
"2.1.3"
]
]
},
{
"name": "poetry-plugin-export",
"specs": [
[
"==",
"1.9.0"
]
]
}
],
"lcname": "c2cgeoportal-commons"
}