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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938d8ed555c6a6337224efa7f8c90028cf267614124d44a49b73ce32aa7ea2ea |
|
MD5 | 836f1862dc9145aed5dda305713d42de |
|
BLAKE2b-256 | cf2ca09f9a3545ad7776e1eb456ed36e5c879b246b06065a3089a700d766743c |
Close
Hashes for c2cgeoportal_commons-2.3.5.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc0726b590d28923f8c1484a30f1379b1274d03e55e96d315da1a39ce3d42c85 |
|
MD5 | 063add46e69b7408a1a366b704a2832b |
|
BLAKE2b-256 | e7f51810acefbc231f316cc3264bb73bde0eacd054837cf15d35a50a2dd4f419 |