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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d869c07d6055ae4ed6c5c2cb76f5b9333b05a98a418fb264903ff5228686b69 |
|
MD5 | 8312702281e9ec3132cb62ec147970f8 |
|
BLAKE2b-256 | ac94b002b9a228f636b0cf620a4e2af2b90bdb08db541529a31c15c4f0f6512d |
Close
Hashes for c2cgeoportal_commons-2.3.5.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d92c621397d2336a0858c842ab889cdf7dd50b9d8b30c36cac48520c3c185ce |
|
MD5 | 1dfecf16f5895849fa9636d331f8cd15 |
|
BLAKE2b-256 | 6a937df3de32cb547fa73607f2a87b0c726a577ab8f69958fe559c4bd7720782 |