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.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e95708ffa39ffe227fafd1e76bd2eb3419e34d9856c7310e9fb539633fad96b7 |
|
MD5 | 27fe2491178464d2a05a343292174a79 |
|
BLAKE2b-256 | 2810f5ab75547e44a16b993480dc0396ef54e5ed2f9b8efe9811dc35161d36fa |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a29a21625102bfede2af931251f5fd09ef53dbacd502c7bf7484ed75fff50be |
|
MD5 | 82029d4212da612acbffd42f227cbc36 |
|
BLAKE2b-256 | 8af6af55c0644205f4f5c7fc9b82d5db5f92c288529fed7f886ffe2ec0f59f24 |