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.dev16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f526afde216c6325d3482abb94cadf762e3405ed529148abf186f5f35237cc64 |
|
MD5 | 4df5963814173f518bbe67faaa55e2c3 |
|
BLAKE2b-256 | 430fd613530ab1acc2ad193b766beaf43afd1a873892498bb7cefa6e6f49af7b |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev16-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a03acf653ced181a8d908bbcafeb8e0e0edd8dc94117ff92d18c619e438fd61 |
|
MD5 | 17f4e45ca7275cc2b488f02a30daf3e5 |
|
BLAKE2b-256 | b4cf4e0c0ac3c05098a13fde585e396fcca2479824704b0002097964795bf81e |