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.4.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77093bec5b86024e450f157b9dd077494bd9b99be3ec7a241e708c10d530eae5 |
|
MD5 | 0afa6f03e5e1b13bbc5d17c423935bee |
|
BLAKE2b-256 | 7b0372f2f72ef6d8e92d89cbf2397bfdf7cabdf7bf06acdf93a38ac8e64f72b7 |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2e482827e7452b013500c8bbbd149ad770c606789563572f73629b5fea97e88 |
|
MD5 | 179c80ae911fd29f1c8dcc475247b08b |
|
BLAKE2b-256 | ef006dff87a79f1d0c6e5fbbc26bba5cfb42ff5f8f03211ee6518e3001419785 |