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.4.post20190223.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57985f2ef9b05f8951a777d3759e2f1d7da0e5d45f5245dcedb74a50a3311aff |
|
MD5 | f126a0950b72209c45260b49fc9984f9 |
|
BLAKE2b-256 | 5046f482c4964d7373a0ccd531f83cb1cd09fc08d31fdf10513ad1b6c6170e0b |
Close
Hashes for c2cgeoportal_commons-2.4.post20190223-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 757404cf6653d1588edbab4f71aadae041c777a2034f8aa698c6185474b0788c |
|
MD5 | 68be697fbd093fc6fcdaf1eaa5a23513 |
|
BLAKE2b-256 | dabbd3a91f545cf0babb413eb204ea1f783de2bbb45a3f09e9ba842c3ed0bb90 |