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.post20190103.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca2a8bb8513f16a8213c979b3b0fcbe20cfee3049fe94f323c46c7a73e359542 |
|
MD5 | 5b58959ed514bc3b13d6e3c482b18e97 |
|
BLAKE2b-256 | f4276912cc61d6033dc8040254d190ebdbc612d271e51ff3cdb26798d2ac1cae |
Close
Hashes for c2cgeoportal_commons-2.4.post20190103-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec40c821e4d7afcc5253b166f008cc707349d26d7fbc8edc6b34c8efa4b057f4 |
|
MD5 | 533c18fce3ed34e1300b3bc76e01af99 |
|
BLAKE2b-256 | 6be02fdd428a0ad1992886815a248dee1f820571c35784e7d1b1125aa72ecadd |