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.4.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8729d1f77bbc672669638737ee382c59cb7f3ed2ea761bc5be20affe1bf53125 |
|
MD5 | 157fea4d43cceb2bd070c034d40b9578 |
|
BLAKE2b-256 | a734f511a4f8ada23e6fee69e8306140e48091a0b9a0e77f98b84f70c745954c |
Close
Hashes for c2cgeoportal_commons-2.4.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6f6132ffe694e611343559d826c4b39ae199238c2bbe3ccc3f63ca20b7c007 |
|
MD5 | bec0ac1899d88c6dca97dfd1a3446fc7 |
|
BLAKE2b-256 | 1dd26ad39ef559f45244a7d7b68c14b08dcb01c690bb6206043928f918158495 |