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.post20190225.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7761c333c8b85bd140b1ea23a986c035f94cc65fc3edfbe791ac984d404a0bf |
|
MD5 | 7cb03814a4d7b41e64c51cb19b6ce4d7 |
|
BLAKE2b-256 | 633764ba7253957a3f15848a5f34c79544e870838bf73d5463fdc7fdb06f5b19 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190225-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74d6923123123c20e558693a98b25accd3249c14d7f41beb63b37d447999bfe |
|
MD5 | 0b994258f690187f2b33a2644204e76c |
|
BLAKE2b-256 | cc2cc139915c9b6fe52663c122c0d13316cc2f289f80a14758efac3c76f9cb6e |