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.3.5.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101eadf99a26a67ef50e0c11f001caa633be008b030ecffe388f35b9ec190fc9 |
|
MD5 | 499bfb33d7614034e872ac7ac925048f |
|
BLAKE2b-256 | 51191c6deedb44a6834269c73e6bee374979dfd3ac13c89e086a2b94fcbd5dec |
Close
Hashes for c2cgeoportal_commons-2.3.5.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d809c9eaa59425280cd5210f0de5a9b66a8bdfcc9bcf9f5f3580a7f923fc922c |
|
MD5 | b42afbee8928e50bc1612dfa44c3d00b |
|
BLAKE2b-256 | 7aa0dea913bc9af29943b7c8e53559a7f50dd65df7bc6d60d5168199facca6de |