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.4.post20190430.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d9c9898b0bb073cdf749c2e1fecf4ec54109daab30dd26aa45cd0231f2d53c |
|
MD5 | 8a99bd0e28c2bfea97a8d97d1583f79b |
|
BLAKE2b-256 | 235d989403c0b9a2c300ba29d37a1b8e15d3f719c5c41dfd3dc41abbb97f38f2 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190430-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a9840abe2dd1eaba4ea9e258561b8c3c81121a0a8ffcce796c0dc3cbb9ad7a |
|
MD5 | 1ce342052d6731a1ee775499ddf3cd5b |
|
BLAKE2b-256 | f2393f3ab01b105062a9e454d097bba1ac283cc6b2ec17877928e619910d5192 |