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.5.post20190508.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e74d3a3d2f0e4869c8cc232a50870d754a3b5c4483296ddaf1c31768c0ce2c8 |
|
MD5 | 6d4aba796f4a7e379f1341761df2a104 |
|
BLAKE2b-256 | 14a39f0375ebfff45c0f32772b4ade0108f6b48ab026fd5c1e37ccdafddcd11a |
Close
Hashes for c2cgeoportal_commons-2.5.post20190508-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 791caf7f1d82d9b418f26cd354396363334f022f364d73195a8de15b9ea562f1 |
|
MD5 | 0186bb67b26159b7dab722abeddd112d |
|
BLAKE2b-256 | 1593ae8471b8c7cb4ab48d71866f1a5edaab76a4f5212f9db9336ca5aa41c7a8 |