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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c9721f09d93d988d97f4971578356e0bc6ffa472a0b9fa1481018fcf10f2c2 |
|
MD5 | 78abbc28f45b4ec33e7818ee78964fd0 |
|
BLAKE2b-256 | 9cab30d78e6c392cdc2fe6426b7671223f84f02a1cf8e1d886d0a66f09f260e2 |
Close
Hashes for c2cgeoportal_commons-2.3.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423ab1b6342a17281d6873e1fd3c6d1ef5ca0252b8323cac3214ca092ce6f6a6 |
|
MD5 | 48a5a3eabb8feba34d4382ce8ee24a97 |
|
BLAKE2b-256 | a6a3210bcdcbc7392b776175c18d2bec44e7611eee83955b0019f3092e040889 |