# 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.93",
"project_urls": {
"Homepage": "https://github.com/camptocamp/c2cgeoportal/"
},
"split_keywords": [
"web",
"gis",
"geoportail",
"c2cgeoportal",
"geocommune",
"pyramid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5374196718101e2f066cdc29d0d6434bc12271b14c70362816fe9055060ebd98",
"md5": "a9792ee192b76517ec0a4b5014905f40",
"sha256": "a4b82954fba807906daa98e74d2f2ac06e5acebb447730a2e033c3c39275d03e"
},
"downloads": -1,
"filename": "c2cgeoportal_commons-2.8.1.93-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9792ee192b76517ec0a4b5014905f40",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 138691,
"upload_time": "2024-05-17T15:24:17",
"upload_time_iso_8601": "2024-05-17T15:24:17.410714Z",
"url": "https://files.pythonhosted.org/packages/53/74/196718101e2f066cdc29d0d6434bc12271b14c70362816fe9055060ebd98/c2cgeoportal_commons-2.8.1.93-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-17 15:24:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "camptocamp",
"github_project": "c2cgeoportal",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "c2cgeoportal-commons"
}