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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c8c37bd782930f7344e39904d3ab258022e0c4769d548c836b80fdda62610c |
|
MD5 | 51c45842f4661b63a053f277ce830396 |
|
BLAKE2b-256 | f3b7131b625a95bbb0d5e3daeb19936803653a3b514af47144a7ab0f36b4b89f |
Close
Hashes for c2cgeoportal_commons-2.3.5.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545d9c0740fee7ee58081c24ef6b7e4e96c4addcd3a8e45bdd00d510212a0df4 |
|
MD5 | 01a2b54c09c3db00b691cd186d622a6b |
|
BLAKE2b-256 | 0632fd926cf7569823ef1ef6ad3deefeb81f63aa4f5c6b48792acbfc001140f5 |