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.post20190313.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee547a88b4de037b9d4b9e7ac4c41102439f35361a33c221f41406044784b941 |
|
MD5 | a90a262e381c6ef5963892cbe6c41927 |
|
BLAKE2b-256 | ba4ef914a9fb999f13b3d98099baa7885e9dfcdbfb7c4d46db5d23a595497a32 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190313-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30a705a8f1ea5bc9dba1724578a3271e99c16a9fea82edf21eee2914bf4f218c |
|
MD5 | 9eaee90882a8a3ff027a95780fc163a4 |
|
BLAKE2b-256 | 5c2e0d2e7415555409073656a5f69bf8f9f90ef5e4851527f8a5380719fe1587 |