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.0.dev20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7816ef8e2855ef986b18ab7b63fe7265ba02317e3af4c0f4ffab507a3bc96407 |
|
MD5 | 6f4ab5717cf85ace6555b975158cd476 |
|
BLAKE2b-256 | 463c548fdfaf4380e5ea9efd35c4e6028348d9effeea3932830378ee1699919b |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev20-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6819c390b28d103bfc3d15d7936f6270a889f33faec3fce430422c3b766bc5f4 |
|
MD5 | 467ed15e3285e9e6f2e4b9938f8b69cf |
|
BLAKE2b-256 | d0eaaa02e8066c6fb45d4fe8898cf8e0e8d43a3c43581549167db76df22997df |