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.5.post20190503.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55af977c50872000444d302a68351060afea266397e0aeec6f71067d141e86d9 |
|
MD5 | 7137f496156caa458863b0dcdd887ffd |
|
BLAKE2b-256 | 29cb1df9134e9c8c189cc8be331abf659a0aeffd071324972c4a8bf5ef159e5e |
Close
Hashes for c2cgeoportal_commons-2.5.post20190503-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c18beed454ba992f5db54a8bae401b7a2ce9673da2d26ece3cc4dcf8048791f |
|
MD5 | 269981722e73a00f02735a8b99926520 |
|
BLAKE2b-256 | 839e74052ca409d4319fae7b97847c1578dc7f31053a44e5f800c1e000702069 |