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.post20190320.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01840b76f8e26f2d3e4da020633286e94dc496339c199118ec9d0c7e073baf0 |
|
MD5 | 04958a69c8d125b8d141c229b8588283 |
|
BLAKE2b-256 | 14102c6197d6fddf6fe9417c831989e9d5e88f51995ad3b5b6ff1b759c23fc04 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190320-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4318452a57536bc069d6df280cbc157320186c2c2841249d78bb44bc6a3b2cfd |
|
MD5 | 3712853c6d4d21a8b1866d9a6d10cc0a |
|
BLAKE2b-256 | d7be414b0677ea96aa7b1febbf17224fe07f62ba658e807442c603f8373deb30 |