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.post20190411.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf58f9962ced3d07bc8a7aa38336529c7c985f34bda0add62c893dc166ea02d |
|
MD5 | 0b71c10ddc2dcfec964eac5f63c001b6 |
|
BLAKE2b-256 | 4e77cc80e5d68d6acf5b48a5ca2b90462279e5aafb76d7e77ab64491c4544a97 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190411-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d66dcd7dc18f6eea71abd9d67866bc0bca8266876c15d2376dd28e5c3ca01d2 |
|
MD5 | cbaace8cff5e0fbd4054b1f637290cbb |
|
BLAKE2b-256 | 427cc0d3b5e7ccc2484d55b70b4c2a159371b8b000036359bfe691c840f508f8 |