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.3.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83bc0d4c7d1c782309de6c3f2d02f3ff9e3c1ae080293ba6301cf3bd1e8280e7 |
|
MD5 | 0957e8d3e64d669755cff467c070a0eb |
|
BLAKE2b-256 | 8d9cd7cbb7908aeac02af7adcaa891af66534d1d5bac35b8ab8ba71c02ac5a4c |
Close
Hashes for c2cgeoportal_commons-2.3.1.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f07cdafa84972888bd18bf6dfa168ebab892809d3feafe4438e0e1a4a581643 |
|
MD5 | 8088513332a45b10e9d0cbc0c892d09b |
|
BLAKE2b-256 | 7dc158f93b2b5839c67f1f6fd2404dc1439928318dc994fcf6627e569d8873a5 |