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.post20181211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd8a18e65d8e2ffd5496b103fe5351f58c03366ef10b933702f78746cba94ee |
|
MD5 | 50218ac77ea0e45405ffa8679ecd8890 |
|
BLAKE2b-256 | 1af96b46cb37c3aa4cf05cea8570caefdd693897085e77625b4e023d77352d99 |
Close
Hashes for c2cgeoportal_commons-2.4.post20181211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ffd4ed6dd900df635d1de6810a1a4800be53174aff322f865cfc9ef8bdee9eb |
|
MD5 | df9ec3db763ce1aa0ea749d9785eb751 |
|
BLAKE2b-256 | 144ff47f68ef116b87e43562b6af8b41e7dbbf2afc5ff61dd724672778cacd5a |