c2cgeoportal commons
Project description
# 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
```
## 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
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file c2cgeoportal_commons-2.3.5.30.tar.gz
.
File metadata
- Download URL: c2cgeoportal_commons-2.3.5.30.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5708fc2b6adb14cb8ddba11245eb4b66234f60555539a06f339a4f2a3df2b721 |
|
MD5 | a6619016d35b0b7fd5a8fcb3b04475c3 |
|
BLAKE2b-256 | 2cc9c6849b429d4aa22eb5c11740e10087ad716a53abbf7b6635db212671a38d |
Provenance
File details
Details for the file c2cgeoportal_commons-2.3.5.30-py3-none-any.whl
.
File metadata
- Download URL: c2cgeoportal_commons-2.3.5.30-py3-none-any.whl
- Upload date:
- Size: 93.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17537db73ef4e85280d6dba3613f20b75be2385791253e0d639c2d4db8e50f04 |
|
MD5 | 6960437e8211879e5fb5045a7e26ea7e |
|
BLAKE2b-256 | 46527644826ea7c36bbb9a6c436323bbe3adead5b1fbee405ba1630c56bd9b35 |