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.36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933af3c9123a79a1cdb2178e3436720e1e053724a47483676ca9aaf21da57610 |
|
MD5 | eae702b3fe794be0f8d9ce8d6ecbb9b0 |
|
BLAKE2b-256 | 79bfc8e3472ab7fab285e97b0d85399eade78a68cead6cec9017572a08941819 |
Close
Hashes for c2cgeoportal_commons-2.3.5.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a419ce753f8c22fae5a9ddfdc61307867ce520e1d51265ad89d9d119abecd18 |
|
MD5 | 059b34c4c967a077c57a2e7ca86a48f9 |
|
BLAKE2b-256 | cc7c691f0d876da5be0400c1888402aec5cb582a6a125ddb5c4aae8e9fe45a94 |