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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df1a2676af80595e09d83f593a2d80242f7d0461699ada5e80dab7fb2f469848 |
|
MD5 | a1d83dbb35f0afbc61fbc6e1ab9b6e4b |
|
BLAKE2b-256 | 3f5ade99af30671036ee62b6c99dbc09da914a7f7f550ba8e4eb6fa6c705b52d |
Close
Hashes for c2cgeoportal_commons-2.3.5.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906053d1d2367c7566503e85190f9dd1c04de24f282a182a7b28640c6f37bf0e |
|
MD5 | a0fcd7768acb5da7eb5782e4fe27c80c |
|
BLAKE2b-256 | 491c047885c16ece1a561c45a34d4a4fa0cbbfabdb2546a9934f03ad09d9f237 |