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.0.dev11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c860e18b354a5c957835681a7fcdc41a06588f20dba77852f1b6bee5161fee |
|
MD5 | 1d7c28bdce503426c1fe4edc09e1568b |
|
BLAKE2b-256 | b238906c5b73e168d3128e9c92d65e3c6dde03995ea36511802395c41a5dbd70 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev11-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec8d54f089dbb07ff6212aa65012af8fa2fbff16f7fd5bf5ccfe1b4fc0a535f1 |
|
MD5 | 988e07fa04d727bb91c028414c23d359 |
|
BLAKE2b-256 | 9edfb9ff65b836f8ac862b03ba09c7970345891d2af2f535b07897b9225a4bbb |