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.2.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b78a347ead21aa66637cb2f0e78f9d1d921c81e4bbe497f2c864f7837954bd |
|
MD5 | b9cfbb47f6eee4f00a836a4cf9ad0618 |
|
BLAKE2b-256 | 0ee0290d70edff5dcd40f79a75457e1f60f372b76cf8fe19d99d2e8090e825f7 |
Close
Hashes for c2cgeoportal_commons-2.3.2.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bad2d97815d40903d99d03b0af5f4646fb878c4c21bf2c75651f96ad8991fc55 |
|
MD5 | 786bbad4477477cbb441952c50e0403d |
|
BLAKE2b-256 | da629ead60758e057ef2b8c24a3fb54407aa33eeec4d79b846fc499a06b740eb |