# 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": null,
"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\n\n",
"bugtrack_url": null,
"license": null,
"summary": "c2cgeoportal commons",
"version": "2.8.1.171",
"project_urls": {
"Homepage": "https://github.com/camptocamp/c2cgeoportal/"
},
"split_keywords": [
"web",
"gis",
"geoportail",
"c2cgeoportal",
"geocommune",
"pyramid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49902c13d5b74e03b18ff706f94f0f95d6c31dd17de6d2fc83a38fd746f7f775",
"md5": "e13f7ee1fa8896b7162d51f6ee7d0711",
"sha256": "34e8106ecf8d7db82df3ff1a48fa29f84f4e633a42e9df437727ea10594a972e"
},
"downloads": -1,
"filename": "c2cgeoportal_commons-2.8.1.171-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e13f7ee1fa8896b7162d51f6ee7d0711",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 138699,
"upload_time": "2024-12-13T12:45:48",
"upload_time_iso_8601": "2024-12-13T12:45:48.685909Z",
"url": "https://files.pythonhosted.org/packages/49/90/2c13d5b74e03b18ff706f94f0f95d6c31dd17de6d2fc83a38fd746f7f775/c2cgeoportal_commons-2.8.1.171-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 12:45:48",
"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": [
[
"==",
"1.8.4"
]
]
},
{
"name": "pip",
"specs": [
[
"==",
"24.3.1"
]
]
}
],
"lcname": "c2cgeoportal-commons"
}