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.post20190116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98102647b2ffcf17c7f9576210cad4bb2020a55eb7daca05e7f796f6905ff2a |
|
MD5 | 54ac6461e0111dc100563b75857a32e8 |
|
BLAKE2b-256 | 1b0ead0a6176aea15b14b3798b6ec663db34ac0e468d7e2055a8d5e0d4b2405f |
Close
Hashes for c2cgeoportal_commons-2.4.post20190116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa72c46e3be09ce96fcd47b1108bd379829b3ce017c7e6538c50df5c72f66e04 |
|
MD5 | cc01c725034cc9f9bb026c258bf55789 |
|
BLAKE2b-256 | 91e2f686a86983fe56b8c3a79807d2faa5957b0bc1b535d37297e6b0bca9d8db |