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.post20190416.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e39657bc7c350bf855ed969b832289e98a6eeedc7730aab3fad10592f0a397 |
|
MD5 | 052739a3412554ba2aaa1d376fee09b2 |
|
BLAKE2b-256 | ceaa40e76e020c037b084a48ef83ce6672c52c8737df0f6fa0fa53c05ab2ca04 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190416-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516d5a445c88c9d1e7faffd31e186ebcf18d5184199c9c2db261a0c6d93840cd |
|
MD5 | 6135c39bb02bb0ab86bc9ce2033a2295 |
|
BLAKE2b-256 | 4806c9a7543120a202a20ba4ca1c0991586f8fe0afdec255706f20fd307e068a |