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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e11478a3ab5d29e2827ce6ffae5e15ea5a39eefc54e2f202e1b2e4071dc9e8d |
|
MD5 | 80d5693b75c68c8a7390757586efe5b5 |
|
BLAKE2b-256 | 3c20b8b84f393a2a952eb9eac5773b87cad3eb8593803df36971b4210feb61cb |
Close
Hashes for c2cgeoportal_commons-2.3.5.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5973fafaf3cc8ae1ce0f19475ce95a57a91ca5018ab1ebd93e3e226e681d6f3b |
|
MD5 | 95e384d7d1c27910f483fc771b954184 |
|
BLAKE2b-256 | 17378e67fa936e70d88a660b96d0ba76d04e94cc6d12cabf5f47fe1a3ae5a065 |