# 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.167",
"project_urls": {
"Homepage": "https://github.com/camptocamp/c2cgeoportal/"
},
"split_keywords": [
"web",
"gis",
"geoportail",
"c2cgeoportal",
"geocommune",
"pyramid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "20fff161b05a55178a9f86914ee1f808f7aa464b043b5c87fb2d810e13f47311",
"md5": "5067a1f0ae7fa6c06f6f16f5f1f97792",
"sha256": "6bdb5abe446270e09f5fb12b1923a6bc53211a577ff5c8b81e743c97d9585cc1"
},
"downloads": -1,
"filename": "c2cgeoportal_commons-2.8.1.167-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5067a1f0ae7fa6c06f6f16f5f1f97792",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 138699,
"upload_time": "2024-11-13T13:45:17",
"upload_time_iso_8601": "2024-11-13T13:45:17.783291Z",
"url": "https://files.pythonhosted.org/packages/20/ff/f161b05a55178a9f86914ee1f808f7aa464b043b5c87fb2d810e13f47311/c2cgeoportal_commons-2.8.1.167-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 13:45: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"
}