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.post20190121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ccbab8aa2b8cf2c091f1823f25d82b250b0d677d9751a820a87852e221f2069 |
|
MD5 | 59dfde678ce3ec20d99d9e4d3c38af0d |
|
BLAKE2b-256 | 954df0dc9b2d4b628968dbb0737c695df77d97a83cb3d35d33ad078126c17354 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ad195ba78a8f5e482f97e206548cd80c86544a2c03a4ef0716df460eb1fe06 |
|
MD5 | d7bb4263b6f2efd9cb0c34d62ec2c283 |
|
BLAKE2b-256 | 5621c3065ec0cca75ce07ba6d519649cf8c420c999a769bf6e9f3670137fb8c7 |