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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961e0d5b6bab4aa25707ed0f1da32a21dc9c0dbaec1aa68d88f1c9cfd766c23b |
|
MD5 | a9467689a274bf5d0766d25607e80107 |
|
BLAKE2b-256 | 615a6067cfd600ed8eec3ed6aebb3ceb92aed35d11bc633a4db6f164d0ae2405 |
Close
Hashes for c2cgeoportal_commons-2.3.5.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8a108dba2083ccfb21c0de236bf6971e60c144dee27bfa8dc5ccf3ca6688d6 |
|
MD5 | 1c07e23aa417ed0793d3a4b9f5bf164b |
|
BLAKE2b-256 | dea5f3fe158c2e1b178f0b96f9cc12c77e3ee6671ea2afef5d7caa35938c533a |