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.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d92f475d67028cc34a08dd40eb77fdb6f6a86d97dcbac0af5b56bab16989cd1 |
|
MD5 | 5eb5627102ddc7f268f5939c97ee5363 |
|
BLAKE2b-256 | eb2676dc83e9c55698d36af2bf6fba62e9196e5aee38e6d97166ae02de559fee |
Close
Hashes for c2cgeoportal_commons-2.3.5.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3000b0f2dd185ac8c50707949f64886cc7b8951d120ab5c5e487a538c8339165 |
|
MD5 | 64c289792636a1d45fc3084d112685a0 |
|
BLAKE2b-256 | abfdae69f47670958195c99e67462c536941cd98d3d7f435930492f038de1b80 |