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.0.dev18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | faad94270a7d261a8aa95614c5a78154b4229a4b7bf2467c9a059a13caabfe59 |
|
MD5 | bd5b92a047f97fc622e7477917bbdc85 |
|
BLAKE2b-256 | 7668bc053c748bea0385f039f71e134202a4d8f9bb805ba5d89f7f3ad8ac7eb2 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77556555f803da5614c93aae837fefcfc3a1736bd762348692bce685d6c5b4a8 |
|
MD5 | 7f45d71f39a698c24645e965e61bac28 |
|
BLAKE2b-256 | 8447cf9cb792f4815d1843ac00fdfd8df6946a7c0a9fb5fdc5c2fb7cd6e319fb |