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.post20190204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0adc835831454e4d9eeffbc8b951759cc5001a1ff60861ce8c7e4a8021896495 |
|
MD5 | dbaddbb5ad3536c1668001fd0635795d |
|
BLAKE2b-256 | 3d29cee23654f1074c55cdb7125ef2d08b4ee7c143ffeb7218869de089eb77f7 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190204-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f749db3140621ade1416e4f599b86b3d2c2bc0f8b29b606b6e9baf78c6a95588 |
|
MD5 | 7b795416d7a06b65895eb41d627ea079 |
|
BLAKE2b-256 | 89853e32e1bbf4b07196031f7833c2153025e5468ac3b3a35987feffba39113f |