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.2.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053673b186df0e73f17ade0a3e9b7a8d0c57124e7a6afc81e4410e5ee6761df7 |
|
MD5 | 9dd5e724378b25cb689d903525a97387 |
|
BLAKE2b-256 | 708d89d0255c072ab94fd8909490f107bf9668c1bfa69f360bd84e8b9c27dc3e |
Close
Hashes for c2cgeoportal_commons-2.3.2.dev3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346f20fe5f86daafebed93e7198ac36e0e7636b3a7d013132cbe3ab2122fec42 |
|
MD5 | 9bad6d5e0fd21e4868444aba605c7e2f |
|
BLAKE2b-256 | a398b631cdd31bdf261cfcb46da70bc8e0efe7926be80d824705ca18fe5efc10 |