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.post20190221.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8bde9899da11736e94e8674ec4c52c4f2e0e67cd992085a87db7745bda4c97 |
|
MD5 | 0bb1e55f0b1c18ac4a31f74fbb1651b5 |
|
BLAKE2b-256 | 1cb380ce16c273cced3b92e60f30c5fb48a8a9160eb4aeaeb596cf4656aa804e |
Close
Hashes for c2cgeoportal_commons-2.4.post20190221-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568c90c8a67da07aa92df21b58b6833011bd16a61dec20f960e99ad75db084ed |
|
MD5 | f69ef36f2c1eaa68b793bd09ec0280c3 |
|
BLAKE2b-256 | 125160a7c25d63abe5d359c4f3ecf4d716ae4515d462b7a7e227983a821ba15f |