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.post20190425.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a78d35f64351b4bfcf3afea95982d0aa74b85e8e73d6602a80ae912937c2036 |
|
MD5 | b4dfdcb082534b2885fdb57a9a6416d4 |
|
BLAKE2b-256 | 38c16acd924ed34614272eda6754f68e441c3ace53985998d0c4bd6747a96984 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190425-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2bfcb093b4c781c3c9fc6b1ec8ee08750ec69bb1e7d377d38ed9264fcbece6d |
|
MD5 | ae03175bd06319e544f54021271a3f7d |
|
BLAKE2b-256 | 271ca9dd365dcca1c3c4aa68d62c1ba5529b85190dd3f25052ecdf9f36575a46 |