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.3.2.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 929cce4897de1f1cb9bb47ac10a584e579f77b1cd71de27d785a6ddf84d7a5f5 |
|
MD5 | c91c74683bbb70b661ab0d3e3c46e70a |
|
BLAKE2b-256 | 4dd481cd8c286a41e44189bf3ca47f4e92361a97b6854c35cf379d88e62e51b2 |
Close
Hashes for c2cgeoportal_commons-2.3.2.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a5795f815b438e1059fa108793d0856f8c3d34e4e1eba4ee08a655842c10e5 |
|
MD5 | bd7aaa9cfcae0e40ff66c261018bee28 |
|
BLAKE2b-256 | 750ace97cbbf8200fee103285332433746dc9fa4751d962f468cfd7fa0642a3b |