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
c2cgeoportal_commons-2.3.1.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca8f3305727eb9b0cd0961faf604d88a9e73c3d5cdef2abba6919276ae7c386 |
|
MD5 | 0548fe416815a346bfe6d08dc06a178d |
|
BLAKE2b-256 | e41ade89d8ed7eea38ccaa6711616c854eedccacea65702de7663c0dc3543b80 |
Close
Hashes for c2cgeoportal_commons-2.3.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f3208e82d28dd643ddd057f67e31c80f99578ca70dc862bfc74f9d96cd68f1 |
|
MD5 | b2651f0bec77301932ba3ecca7714f4c |
|
BLAKE2b-256 | 4ce6216684c8125665000a4bc096d9065b82cbee6aa7dc189b83ae76e7c0d91b |