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.post20181217.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a02a793e7a65b96f0e16e76884ee234dc5b4f4163b56be9230feca841167b6 |
|
MD5 | 3b0c48bb778da5ec7c26c59a35858329 |
|
BLAKE2b-256 | c047bcbfd9f8e40a1cfe160a63c9b10830450905d7345ba28b9edc34d787f9af |
Close
Hashes for c2cgeoportal_commons-2.4.post20181217-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59ef4150ffb806d14ae314b912d7a705000e74cc63f61b459cde475e436129f5 |
|
MD5 | 6755d7e343d21f3a2481fb5fed70434e |
|
BLAKE2b-256 | 211c04ade93f0baba0728e6534fec65e2593c57d7ccb5b59e55a3f5d78c19b67 |