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.post20190307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b78743748c212b7e3c7a7d72c612e3c75cf39145273619515a6a6994ef34af3 |
|
MD5 | a51ed317ca8b77a189d16370ac442ccf |
|
BLAKE2b-256 | 9dbcf30db222e52830460c079b07f0b0c37cbe317a8429d145623e765cb61861 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a33829961316810af8fcfe07ba2dfe273f00a57d461604498f10ed057fbdeb0 |
|
MD5 | 1bab233fc3c6a89adf1410e97553cad3 |
|
BLAKE2b-256 | ba984044d7b3f2b1a756602047cb512446e8b8981a627c2bd072f870400c95eb |