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.post20190412.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eef5fcb4339afadcb79863e1b4639a6f4887a89a9fca1e121ac824df108da46 |
|
MD5 | 230f6d6992ccfc501deb0adafd5ca616 |
|
BLAKE2b-256 | dff98221128a824aa2ffba760d71e414fa79211547a03100854234afe553531b |
Close
Hashes for c2cgeoportal_commons-2.4.post20190412-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f965eee8c2c20436d7561292a808e7e983cdb28d78a9d71e2e4aa2ebe99b9f5 |
|
MD5 | 0ba8368ac13e8fc8a13eca06806481b8 |
|
BLAKE2b-256 | 269a63033816fdedf792d0450c0f034683c1efcce935e7c45bd957e454c40520 |