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.0.dev13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af5a964048a416e4175885a446bcebfe94702758e394694308e72170cc3d047 |
|
MD5 | 952821a7d3736b85878c0c46506c0dbd |
|
BLAKE2b-256 | e6f1e2f1d0ca828eb938d667547c1515918dbcf893fe5498a5a6369a5e805f67 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4583c88853eb5caad76f36599d70d86414e01dfd48361451fe1820a2cb35ebd5 |
|
MD5 | fec24266e02f37834d40b1b8e2a75b8e |
|
BLAKE2b-256 | 2f30326dcfc521501654bfda1454a47e23c223464e0ec1cd508bb0245bdada66 |