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.post20190206.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94ae21890437bcee6f3f2364ec3f5bb311b1ed9db82514f5fa34df7cd855de5 |
|
MD5 | 0c8da813538acdfeb6bafbcbac445980 |
|
BLAKE2b-256 | 5fb2be28f649bf44bf7b59ba2e228622efcfa133e474722a3ed172be8fa43c9a |
Close
Hashes for c2cgeoportal_commons-2.4.post20190206-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a00ddcb7383be21efbe8c8ce00fbe90e5dc9b8b68a4f8db3ddfecf82dd262a7 |
|
MD5 | 5fecab863d9bea449232a2ca24120d29 |
|
BLAKE2b-256 | 0b5ed1330188c298868ce57ed7d35de5881a618610b2e01b2a306eb45e534ca3 |