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.6.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d36a21e739dfa13755b3bb45a15115b94463ebf081c671b5e57ca1eeb51e77d |
|
MD5 | afd524aff48bc959bd11cf9613312fc3 |
|
BLAKE2b-256 | 557c954c65aa73d10cda5596a15bf7942dcecf1ff190d8c7e50ee8cd79b01f67 |
Close
Hashes for c2cgeoportal_commons-2.3.6.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977d9c79cc0922beddd3e713e8d668ea654dbde01b3b32811dce2d771f3952cb |
|
MD5 | 8061d2bd4fe6a670d3edd2be30efe53f |
|
BLAKE2b-256 | f5c0e5694c7eb4fcd967ffd8640e8efafc14f103384296f07690cbd77a4e5768 |