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.post20190405.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13cfab0999a6ed853ccbfa0253ee107d141aeebee123d0604c67baa798d0838 |
|
MD5 | 401d2f11e150a3bff33327ea9a1726f3 |
|
BLAKE2b-256 | 83792ad1cde1c3d88261f536b8e21c9b4c5793d10fc99cef432d776904245b99 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190405-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b231e2baad0a18346281c0ae87af46e9e14406502529d538af53c4b30ae2e639 |
|
MD5 | 1ccd0bd782401f6bed2e5d3c62747d97 |
|
BLAKE2b-256 | 363c69ee02682ea9ed88a3bd2d93e4ef75fa8a15ed1df79250dce941fd56c076 |