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.post20181212.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b702b71b1f3e54a9d84a5904bcce1d572be9965e39e6f7c74881be29760c114f |
|
MD5 | 5a71c05b18377a1584d516e9f6270362 |
|
BLAKE2b-256 | e8b46170644831af686f4b2c8080df812826c5f0e8b21993670a0e866ea52e40 |
Close
Hashes for c2cgeoportal_commons-2.4.post20181212-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5f94542812838b050596dc0e48c988f81681f29f9a373b07c3f82192f9e29d |
|
MD5 | 194fd3a1659953129f31800ae43e1c45 |
|
BLAKE2b-256 | 21ee9a51b1a79f435fafbc3b83b236aedb66c26a29af0bb1d60c26901b9bd9f1 |