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.6.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a994a7d816aa0981d93c40334da1d9c6c6d2bdba66a2a4bb0ec0eb24f7047e6 |
|
MD5 | b0c127c3b8eb692a3bc3bbbff5372d17 |
|
BLAKE2b-256 | 14a35c95ea98a52d31fc5562e565db93c7352c208af9658914e48c9d2d543b04 |
Close
Hashes for c2cgeoportal_commons-2.3.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec9b8deb495c7b94657676fad73dc0748c656ff77971dc259213b3bc1b53db1 |
|
MD5 | 676297e38408751ef29620c4453fd535 |
|
BLAKE2b-256 | b1896a3b576a1dd4e03ec9373982c4616fc7346d0d3e020015db522e8a0da987 |