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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e851bedaeac341b3599f06c4844e85c324e98797322f8d3cf4daeaf92db26620 |
|
MD5 | 383ba7ca157b1a28430d4840995d3e56 |
|
BLAKE2b-256 | 0be7b1a342443fb330217a6703a72368a08595d2939c48293b75f24ffe85bed0 |
Close
Hashes for c2cgeoportal_commons-2.3.5.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74cb72ead5164424275c388851b5a0b11dfa893e51d1ffe47b58a73bdbd68e64 |
|
MD5 | 86e07016a421ff89be7802254d43385c |
|
BLAKE2b-256 | 7869c2fbf97d389744566b2ddea808acc8a6a740a70ac2b6d7d9579daf6ce047 |