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.post20190211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44934d10a4e815c304ee9cf811a8acf091f3c6aa38bca0c5a0f5197f3875570f |
|
MD5 | 55418c61cde0221045d3d4bb3c4c23d5 |
|
BLAKE2b-256 | d8d515539eea4b0a5ef6a607571b5bd6c729380e31380f2928f8e8b66938124e |
Close
Hashes for c2cgeoportal_commons-2.4.post20190211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183e5cd9c716cd06d9ef1dda0515529aa8b6d1aecc9acc7cf505d8e7c006e3ab |
|
MD5 | 67cea515412e8b05122fcfe38d97582b |
|
BLAKE2b-256 | 6260af9ec2a8806e37ad7da54b777278b2f21dc0601d2561d1311a7e0b78e99f |