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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4c058d5703d0714933550f2d3247e0e54528a7115e54217b0486b92dbe322de |
|
MD5 | ad48b1823c7d6f66cc249015b56c467c |
|
BLAKE2b-256 | 35285a362ec6ceec28afbd5b3d127867871b074bfa194013dd7da7f2b0f7871d |
Close
Hashes for c2cgeoportal_commons-2.3.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d995f75d915e76b7e59acc8904c0eb2a2aa3ba3ea1088e0c6e849fbb7b4f472c |
|
MD5 | fcda615c0327e756baa20bab7150d357 |
|
BLAKE2b-256 | f4f1e73159a6b74aa2adcca837c3aa2c33eaa07a6a1b4f277779e09eaa16b291 |