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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb4cb5af3628e025a8287964c89b1b31a050fd7825e480d8b205c468c001115 |
|
MD5 | 552ca341ec9e3dff129941608caa5064 |
|
BLAKE2b-256 | 91b55c26f87116867e53180b4de837b21912b92cc26365b6bf5e442b32c3a208 |
Close
Hashes for c2cgeoportal_commons-2.3.5.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb01b5df2646f338a4424fdc62f97f8044e016cc0b9fe4616fc40538308e025a |
|
MD5 | c06810f011b12ba2480c89a687d0e7ec |
|
BLAKE2b-256 | fa6a1727284437bb33a90cece45ba4719a8a24e394d3422210fb1cdbba7a22bb |