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.post20190429.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacebc93642710d34ff99a695e912f1e8c0fcafad8fda06a6dc0736cddb9f092 |
|
MD5 | dd8bbf6c01509b7e0db29405ae20f13b |
|
BLAKE2b-256 | f2b10e0e6f75e705ef485ef452cc4c972e192a80c5c2e403f8e904472a97f07e |
Close
Hashes for c2cgeoportal_commons-2.4.post20190429-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400455611af07c217ff7d22ad910437c9185bd8df883564c0bc12e7fc8afffb8 |
|
MD5 | e5f5293baa33efde8e9fc8c414511994 |
|
BLAKE2b-256 | 252dc31994a0ab0deabf972392c063c26feb8d7d885477ab18590e754b685498 |