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.5.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee71b24366945ae3fc412848da1751ed503f20a093ca608fee6e56906f61ce4a |
|
MD5 | b5ecc8dbdd0e03dfbfaa58f594deab3a |
|
BLAKE2b-256 | 7fec37ef0b9f692d0592250afa4d2f01b884a0efebf1a8cfb182508e23a72ab2 |
Close
Hashes for c2cgeoportal_commons-2.3.5.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ce41c8d7175d9924c204f88e3abdf77369db490391933884c7d47b2c716bde |
|
MD5 | 56db861b1961957b41e8cdf02f0660b5 |
|
BLAKE2b-256 | 2881ecd2d9a51b4e133bdfbe0c367e6edba0921ad2948d987b4faa377c990b03 |