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.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b92ada5566c4904dea45217ad164fdbb4083a6286dc4852adb0c7ed30fe96f6 |
|
MD5 | 510272ba37a89b7c39895dc759758dbc |
|
BLAKE2b-256 | 4b26d90e9c21fe217f26e00960d28d075fd1a02e153c2d298b396cd6a4b7bd53 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82447adfe4d7b5d4106e06cbb3af7d1b27f103783c0de2ecf85f8a8ae798cabd |
|
MD5 | 16e2d3461c7354005977a890b1f70a3e |
|
BLAKE2b-256 | 53c87bc18ce9631864da2fc08b744ad1f7740b861f7b7a6ba23bf2a8c023e224 |