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.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef87cf7a4e801180fa6bd64027a4e78650ceddc2561d218d24950c26330168e3 |
|
MD5 | c568893588eec2cc7c33c8763bf60794 |
|
BLAKE2b-256 | 057ff699cff792de84549ff1ed8bd4fceab23caa73b5b856ad9216478a95ac68 |
Close
Hashes for c2cgeoportal_commons-2.4.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a789a566ac2aff0f83a1bcec1b099775e732710c656cc855783b4871dc42f4f |
|
MD5 | 7a2422bfc2ad76aaebfd92ff81a27897 |
|
BLAKE2b-256 | fd2f178aa7af770bac1ae1433a92c195c0697cd4ba53853addd6ed59415dfd63 |