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.4.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9883f7fb0bb3392df22f1495d01bbcd2709c0d0436c17f3a765753f05df329bd |
|
MD5 | 6b720b5ebb86d8260411a1682ec37e93 |
|
BLAKE2b-256 | 19723e20d0c30cc34ddf2846520be13ec94190d103839661f2ae8be9454ba2cb |
Close
Hashes for c2cgeoportal_commons-2.3.4.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb1d723640d0084d03dfd3ec389247aae4462e4aa84ba334e3d300bd92ce194 |
|
MD5 | 027c8a4162befac257d41ab82be60a38 |
|
BLAKE2b-256 | fd33bd7531dd299768163f2a3a167ab69198c8165b20d19cc9ad376a83dd7d8b |