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.post20190321.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d316c1dff32fa6bcf8c92b96cec6f567b4bf3e300c6351246406563d55cf7b |
|
MD5 | 9113cf3113120cd78327e3a52ffc2940 |
|
BLAKE2b-256 | a98d9e3629af926d5ba30b6922443dcb7df0a8147cbf4eeebd13f248b2d5beb4 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190321-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb12c3c33d31d4113e42d730ce778e8512cdda122454c5c9b878538f8efd3cc3 |
|
MD5 | 10319e2bd17d0c8829c09c1f5fe8ec4f |
|
BLAKE2b-256 | 714526f463bb730c3bd5e3228ad00593db0e0f666efa59246d6bf45861f0c762 |