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.4.post20190222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fabc168823c9c9dd32325930c87cf457f5a5fe375f001fc17ced10fc875840c1 |
|
MD5 | 2f35a9a1903e510e83aecfd65ea53709 |
|
BLAKE2b-256 | 69ed1d65f5c2c807ebe6577d792ea89e235c1e61484613ae6c20a0eb1d0e1611 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36517fec1bb6246134150c9b91aa21490d956160eae5972ce7cefee010063a9e |
|
MD5 | 935dbd116a63e7ad19ffbff0a55ae0ef |
|
BLAKE2b-256 | b5d774eb6ad8a400157cb2fb93d5e61d4478087da85edd050f18032f620836a8 |