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.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21b791b18b9bdc2535725223fa02c8e27d5d58c5893b7defc179b99dc23f5a45 |
|
MD5 | 5ce7cdbbc6e2a39c830191a0d2300878 |
|
BLAKE2b-256 | 3dcbf25a951b33df1357bbd6bf161c12a54d72266fe20185afe3794ecc11e373 |
Close
Hashes for c2cgeoportal_commons-2.4.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d674704aaa0a76620beb2d78ec4a8fac198f52680e2e46c7210116521db9acc |
|
MD5 | ff87f11652264c398559441a2d5fa0bf |
|
BLAKE2b-256 | 46288771d8bc13c726bbdbabedfda0d580b8f2bb6bd1d5c0c2be54e8f6c1f9c1 |