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.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4ab79aed69a9357a1fc9263b076b289ff968cc04d40a43a90ddb95ed5aa56e |
|
MD5 | cdf4014f72596ab0994277289302f0fb |
|
BLAKE2b-256 | 6431285a444b62be977394c13427f752fed1109cd03fd0c41bafc511509e4524 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae2af0d69c966806e4c606b073706ebcb88e69654e44a4d419e76f7266e5b580 |
|
MD5 | ea7ef7873139a26f99298b28250f4e42 |
|
BLAKE2b-256 | b3756049bc02d35f5f29d53b5fef511c9073491e26a109913abcffafe2b2adb4 |