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.4.dev6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee9ec5d0749d84d22f630a3ffcadec3fbdf2ef1c401428554c011941c153f1d1 |
|
MD5 | 59793acd0da11f5fa06d76fa44180783 |
|
BLAKE2b-256 | 1e75e00d58ffeb9a1700ddef11011dbd6357e90adb9fdc77afa6922b72ac3478 |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a1a781e3f773ab7e6ed115c454c7022a59b6944660f40ad4ae60d023b1b6a7 |
|
MD5 | 19b257c91031da450f98d1b29050db85 |
|
BLAKE2b-256 | 82f8f54c5ff1be070d21a48d93c23f03c3aac9066362cb5acc87a90ffb2fb4ed |