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.6.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21927da16d023dea915d287721f19dfe9f0365f60c64b0f2f3674d1592b2a9ce |
|
MD5 | 57a93cfe2d5293dc7f65762cc6d0d824 |
|
BLAKE2b-256 | af8ed34c98fcca9e07b192cb02afd1213cd7a00528b1c7b76b73169686c97011 |
Close
Hashes for c2cgeoportal_commons-2.3.6.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad5f597668074d477e4febaa293c280173b419b0cb18a63e1c096245daba2ba |
|
MD5 | 0a55d44e45c09a0beacccfb2e4c9e603 |
|
BLAKE2b-256 | 72a01fe0d804acda41ea28c2315a0f91849ea967bc5ed67340a983fb51e121cb |