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.dev19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc4409494de494d9867aa7bf4f7ecef62bef12ae336abe6acb960b62787d7aa |
|
MD5 | 327a32f518b4428d4b4447641059da10 |
|
BLAKE2b-256 | bbb0751fb932b498bbeed9d49544dc760d5cb7d313f739a5166bc49a6f22280f |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev19-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb50726810d8f7e9b7e5043dd1fcb698b69a9c2646a6550fcd16ab52d67dc74 |
|
MD5 | 3fb665187d898ffe5d105ee3d0f695d2 |
|
BLAKE2b-256 | 0ac074ed4ef0bb73a7b4efd470c8dae08578f2a860de11703bb7804bbf9ec29b |