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.dev22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6618cbada5a7a655a8adf197b0c172c901080bcd6c59145ba3bb0daf5baba4ba |
|
MD5 | f6ef2cd41f690f06b3660f00a2f32b44 |
|
BLAKE2b-256 | c04577c118609b57ec0bdb699d7360a54fc37a776f660828d5a9fdb237908cbd |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev22-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1acd837d5c27b32981e204db7c701134873e864f2bc190fd71dd20868bc6d0b9 |
|
MD5 | 69383eab09a94e6f765e2d1b7f11fdde |
|
BLAKE2b-256 | 8cd81f949227e866457cf7bc514bd9c116fc463c26bd682ee0f40e80c944d161 |