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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df766eed46792544a8ab9ddb9dd0e26984ce8dffcdaa303969c86befadbd00bd |
|
MD5 | 44554469d8ad7efddf66512f6cca6503 |
|
BLAKE2b-256 | 974e035f8af8fc87ab1ebd6cb0cd98502d3536ef72991ae326d230a4b9ce977a |
Close
Hashes for c2cgeoportal_commons-2.3.5.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 331521f27087195e1729921c55c2fbc718d7e1a8d3760b6a9bf1dbfdaf9c3e7d |
|
MD5 | 906b1986bc03dd66b4971376973eeecd |
|
BLAKE2b-256 | e27c5b1a16d477622a45f8d17467b3958166c28723d72268529b9e28cbf55d42 |