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.post20190212.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f3cd66ebdd5f8e390e6059eff456481810ed0ee8356193e3f4068c01196401 |
|
MD5 | 4f419b82d19aabeba9850d23ebaf23fe |
|
BLAKE2b-256 | 0161e0559484d7f1826ab9dd4e31898bd22b92d28c898f2a208ffe3e8547f891 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190212-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34540dc50c37fb1be44145ff242b4583942b106b909c6dd75e5dc4fa603479c5 |
|
MD5 | 86a54703e7ee451a98841089cd38fe0a |
|
BLAKE2b-256 | 4fd8e5e0562f1ab79ec534a34697901d215f3dc29f45e185180ef946170176d3 |