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.post20190107.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f6b4e54dbda5fc1f4ab24fbd79da421fee58735f2c03f172c4e46364f11db2 |
|
MD5 | b3d371ccce535ca8639748441ac0f627 |
|
BLAKE2b-256 | d1bcea3266c6116426a1baace08e1f246b79f7313202559e6b3fe100137d222e |
Close
Hashes for c2cgeoportal_commons-2.4.post20190107-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adcc945d243d6764040ac08d8a0bb35800fe4792571127a49b93a37ea0da3055 |
|
MD5 | 4fde4ce113583c7e0206b5532222ac6d |
|
BLAKE2b-256 | 847e355cdeb2a0c13f01f2dac6ae005a76b5d5f693919cbbef329d59ef5e98a8 |