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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bca9176b91aa8bcc4502efb8447a043b68c74d5be6c31a345d9a475a8d84da8a |
|
MD5 | 5b48f291d5b168cdb9d64a1bbc543c86 |
|
BLAKE2b-256 | ce98a290d29b433ffe08a223ce74808e72e7c4e9e739798d16c92cd38d11b552 |
Close
Hashes for c2cgeoportal_commons-2.3.5.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 971fae39ffef4f848476eb7779e2fc93b1bb8b515a5e57e55152c69138d703bd |
|
MD5 | aee8ce6deba158d92e99396d8fccc1da |
|
BLAKE2b-256 | 1dab4ed5c7082e741ff82368140698ad02afe970436e0330fa10a927c9e7787a |