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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd694f152ac90299a91dae02595dac573eae35feb0e11fbf5e4035d56c063d2 |
|
MD5 | 9737b321b6419ab3cbcb37a256b6671a |
|
BLAKE2b-256 | 61e3910756870087a145ab40c88402717adbbbeac61a3f26a35c14ea566319ea |
Close
Hashes for c2cgeoportal_commons-2.3.5.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52e67d0a0da627e2397d404d552e3ceae568ff276293b95176921fa901cadcc2 |
|
MD5 | ff61835b05557636e0927e43f9149a75 |
|
BLAKE2b-256 | 1197655db18b7315947f7aadec51dbef225d1bb0ec5f312ab1cb23d3c7e4c4e6 |