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.post20190208.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f19a5fc5c1e0fd2b4901a2f222c0460882a84a7d4980387f38356cb91d6eec4 |
|
MD5 | f0001c1c361a0d2d8ae4b66b8a7f3825 |
|
BLAKE2b-256 | 26d7eb392db6e1943846324fa0bc48e5f2ae00afe1aea425947bc83b0c5561d4 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190208-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f4bf7f1b676dc43eb59cf41389a0e514d07d373c2aa934f68680753684b8b1 |
|
MD5 | 2e486294f5682191207ef5f8da887f18 |
|
BLAKE2b-256 | d1f132ff73255cff7de8bc870c2ac5b98889539fe71a097bc1b1257fe7168fea |