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.post20190109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9df94911203664ffa131dbbf8a60eaaac34a22c8fc262b8687a03f06d43565 |
|
MD5 | 343f79d465ee7f0177858bb957e9410f |
|
BLAKE2b-256 | dad7242fa5bbaad320fee5385594ee6caa263641f4b9924f90d730dad47df52b |
Close
Hashes for c2cgeoportal_commons-2.4.post20190109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b630da295b856e2caeaf424fe6d9e9581bbf718c7ebb215fa53271d213d1f6 |
|
MD5 | 809f0d96eeea33a3108ddd30e9fc7d52 |
|
BLAKE2b-256 | 2c709a75e168bce78682dd569783f255ae94444949158630e76975df200d3f4b |