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.5.post20190507.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4117a96200db7736d385feaf3051c8500f04e480b7dc81eb6878c0cce7d487e |
|
MD5 | 388a1e2d79e129d6e7010e478535b3b7 |
|
BLAKE2b-256 | e72fb9ec492dcfcc7c32c14ab309fc49fdbe0eb2847aa97f88159eb35d5a5f6e |
Close
Hashes for c2cgeoportal_commons-2.5.post20190507-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c89577891922a7e53b7557effc092caffaf462656438a37eba45ae8caed873 |
|
MD5 | f21434c8e811d2497fcf193d70eee385 |
|
BLAKE2b-256 | c69be1f8a94ba45e262315d6f6fefbd99a753ed43297ec7ef61eca116d0a8a19 |