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
Close
Hashes for c2cgeoportal_commons-2.3.5.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256de55544a5fd203ecb98b2ba41f9d1845db7cf2b424e9292b57f78705359ed |
|
MD5 | dd6c373fb98874ffdb07d55dee50906f |
|
BLAKE2b-256 | 5741814b7cde6f3780a3bfa108b80a2a7bb273a6bdef13d3833f94de0ceece1a |
Close
Hashes for c2cgeoportal_commons-2.3.5.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e62ecded6484ca73c981b9f946e3576a879647328716cb95f2ccd4cd54a66a |
|
MD5 | d16118c0aa0d1548c5948f38cbee26ab |
|
BLAKE2b-256 | 2a18d566316cd2893045f681acac0c2fa2839a22b46718822b60efa70f9960cc |