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.post20181220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ef6dfaff9944a915e200cd05fa9f50b06e992e1693c2c60929dccb60c6cb5c |
|
MD5 | ace74798885ae9c95d4790840d2d08ee |
|
BLAKE2b-256 | bc4c68946f46703d0046640418f859c17cb4c2407accfe06ffea2867c0d61a75 |
Close
Hashes for c2cgeoportal_commons-2.4.post20181220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9bd4b19797b1b355ebf7515ebc9bbe4918dbe7f9c802d71ec5393fd56009691 |
|
MD5 | ee7fe81b058a1c8c36f2466307cd8047 |
|
BLAKE2b-256 | 0b1e1a98af2119081360a8de1a4953a8920d963e271c530f36b4d084dcdd4a86 |