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.dev18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72d6b149bf18bad1c6d71d66910cb01341363ee849c622612ec9df7ac6f6feb |
|
MD5 | 207536b16c69cf518c12a6b46fb08c83 |
|
BLAKE2b-256 | 15929a3135281eec081ab1c22df1aba7b2b8e52614795a4b03afade098fc7a29 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev18-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b81c94b2412e45cc8d0bbf22efbdc30a9be3c37e938a1a3d0de31a8d313f85b |
|
MD5 | 12523ef8fd51efe00e6376b006bfc17c |
|
BLAKE2b-256 | 5ae04b1935def931898d0c9b808a6b831e2d4786ec40c46f8e598a6f2696c526 |