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.4.dev5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46450903f36267a38a9158d4d0fa374a131e8c62224eb907cf31341ac7515e71 |
|
MD5 | cd78e25ab27688675480c351e0a63794 |
|
BLAKE2b-256 | bfd3636aca88884f47280bcd6bb3f33b429d85a19684a534ec89bd6236116a8e |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9b47b9cef99b9cecc9f82833fd8f4a099883ca41dd528712c88e6e2d8828ea0 |
|
MD5 | 046b745373b6f715fa1a4098dca1fde4 |
|
BLAKE2b-256 | 0e759891b441461806b86e7222285f3797f2e806495ad8f585b659effedc2ade |