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.5.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d7d9a2b72a183116dca6fc7f86b17fd6efdcf6425e7c8e53a8d3463dbd18ba |
|
MD5 | fff9a320d5e3872dddcb70c81b968cad |
|
BLAKE2b-256 | dd79f5047c2a8760ae67568ffc9f7e17178fd1fba00bc6ae87398ed796a6e7ca |
Close
Hashes for c2cgeoportal_commons-2.3.5.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b128b2411dbaf87c0bd3d9922c9b3b6fc11654c63abf4d0e9f83090ecbb33107 |
|
MD5 | b79b75cc0fca0b213bd11651d648734d |
|
BLAKE2b-256 | a063148ba2fd44ff185b3267672058a4be85fdd0c3be471869bd8ba9a534e18d |