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.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467a072f9e36644e65004c18511d459a3904ca80a5fa2c1ef280f182257c7524 |
|
MD5 | 5f29f551ddee6f3847fe2f468d050947 |
|
BLAKE2b-256 | 6fcd5d0adeb605f5d647404e54f1bbe9bb4898e1d69855de39fbda94267e2cc1 |
Close
Hashes for c2cgeoportal_commons-2.4.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1220c7c6344d1cb4251d3343c7cd765f6bc5431ae40ff57f232eb647fe52bd |
|
MD5 | e0e8c9bdbf6b6d2fb1d9d91ef5e70b5c |
|
BLAKE2b-256 | e9fc59c5ce933321f718c07e6184630e6a6c260ec79a2e24552cbe87fcbcf669 |