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.post20190423.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6183b6a7d9bad84e6b8f51155cf11b617d0c4b4c0afe29b7d6a74fb0448e8c64 |
|
MD5 | 324d437bde2861bc3580a273cab22ca4 |
|
BLAKE2b-256 | 202c3503f4df58e9899d73c2e8659c601012fa0393f2bc3d97b039897c420708 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190423-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c59331b0d3c18e9e8637166581de56abd6c0edffb22dca76dc438b5516dca4a |
|
MD5 | 9c7d1f6fb1853113c178e338a46ade37 |
|
BLAKE2b-256 | a159a7c12a6ce9246856a7f8f119e78ec5c50df66b745bc461dc9c483e83a9f8 |