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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f05e76a8135cc90a54135772c6768fcc9da92ac11db6b2c0d7057fd2c953841b |
|
MD5 | 94e38867eb12ee2e3517cd0dc3ec8498 |
|
BLAKE2b-256 | 383be4b2602cb6a9fd2dbd74511c0a6a016cd7a41c09a6706804a4c36a7380ca |
Close
Hashes for c2cgeoportal_commons-2.3.5.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02ea3e2d454a53d34dafec2ae7f6fc43f7005fa6c493aa2aef50d6aa6e656f6 |
|
MD5 | 44dad8486a3cbc6b91585d9ecf8cb88a |
|
BLAKE2b-256 | 27d85374ddc9032f95931f0813760f15af2c26a323fb596e8eceb9fb2ddffc07 |