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.post20190402.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586f8d4e75213056a11d60253752fd6e04c02c60cc852bd56f3a94aeef1d162f |
|
MD5 | 24eefd915adf06d1c76bc9aa9752f8d8 |
|
BLAKE2b-256 | cb119f1da183e8efb5e2f770da034e2a5f435cd46d4967e7725436dd212a4d62 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190402-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e1b523f3104bbc9c9dd4502e0adc3f8e27b256fa4d4968af56e89ffdba8ff6 |
|
MD5 | 5c9f6bec71a0fc63682c59850c262e26 |
|
BLAKE2b-256 | 10729ea7ec9cda0d9be13cba08dea6ed3457678398a33381d16bdf6f5e224cdf |