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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a798f5c3bbfb54dc61627d10cb2283367f391f7f1e2d6d79c22be74836446b10 |
|
MD5 | 4b7492c4f06c25ecccf140d1ec6dab51 |
|
BLAKE2b-256 | 094a56d5e540751943a9d5969a6d208f58079d2baa3d1a32ec61264601e6e9cf |
Close
Hashes for c2cgeoportal_commons-2.3.5.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56171f134cd3cb4dfbb574bf6e35d269316e788d7aa6ffd9824c507d8c77829b |
|
MD5 | 7a14085286c55a3293c380ca41a8a795 |
|
BLAKE2b-256 | f8d7257660f0e68d8e7ae63e7e6ced9bcbac7d8b7deed4f5098e5f53dbee1b40 |