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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 987a1bde508f1205891864510f6200f4633a279c200cc5a935f8d2c685ddb7b0 |
|
MD5 | defe27cf2eb30f97974b355297c68d4f |
|
BLAKE2b-256 | db33f81c6059e9e5295f99dd7c24655e7e03a73e9d0e272546520a4210f79328 |
Close
Hashes for c2cgeoportal_commons-2.3.5.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83cab418a7d71ce70d014c86ebae5ef0b543140daf8365721b7257e55105bf6e |
|
MD5 | c40388869f6ce8522fb03411409b5b00 |
|
BLAKE2b-256 | 93c3348b1ecfbf579648a176e074778baa35a2607544350de344c01bf8913037 |