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.post20190315.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a279ae180862b1719aab769607fb5125645a211b67abe4047b4e8dc2e630b756 |
|
MD5 | fc9fdabeb48fde72d1daad550c6bdaa6 |
|
BLAKE2b-256 | 50e867a044376903b887a60e4f4946f209f98db8897b62e821cc821a8165a7cc |
Close
Hashes for c2cgeoportal_commons-2.4.post20190315-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2610d49068dce6abb36e3d41e2dce904cb0cab67793300991e5797c24c21f4a |
|
MD5 | 0933652d0a76f9f89a6e14b474194430 |
|
BLAKE2b-256 | 511e214e25ed6fa402b3bd2d6a4898de666b5dee174962db7f56d046cb06bdb9 |