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.post20190114.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2177685dd48d48d3352e41daac876435e4df4102cf0ca6e0a440a15c9583c6d8 |
|
MD5 | 523646b8b9d80d9f11680b2cd884b8ce |
|
BLAKE2b-256 | 940be42a913644d12649b11887a21c666066eb53c0fe273fa12d8d74758f9f8a |
Close
Hashes for c2cgeoportal_commons-2.4.post20190114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f31fb1148e1a1d349f722844bfde08f93d3c6f745a709687c65d58e42f71b3e |
|
MD5 | 5923b364f756c655b201e1ca5c6ccbc5 |
|
BLAKE2b-256 | e740d506ec74fb18eecfd9afa42bfeebb4a8bb41da06e420f5d8a9853dbb4698 |