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.58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 914e147be71ffe4a7c618f75525b8d78b68d473548e1fd674b71b8aca1425712 |
|
MD5 | 29476235f75c3b643bef583e3909b4f9 |
|
BLAKE2b-256 | 4054d67b5afbf1f15dcb186adc4243982d3093293ce40aaae98318dc6830452f |
Close
Hashes for c2cgeoportal_commons-2.3.5.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6330426faed41865ee289bbaa055affc87612aaf5d049a9307a4fda6e90cc6 |
|
MD5 | b77f0a813c52cdc59174c94b4c2217e9 |
|
BLAKE2b-256 | 4e25fdd659710c9d8bcde5dc896dd2875ad86ec90703ec92650f834226f61711 |