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.post20190410.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33872db4d60b9c564d9dcc37b065362aae17ec288a34875ebe5bc3ff522ada20 |
|
MD5 | 462d83eb4da2b2fbe3503d715473aff4 |
|
BLAKE2b-256 | 6de684ac5a4202891ef2c1a7edb719818ccc0c31c47341021688d44914dd4e9d |
Close
Hashes for c2cgeoportal_commons-2.4.post20190410-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4caeb80a3315516af63d26fedb93f56f4ec176ba5481b6826b8d64283a052530 |
|
MD5 | 80e1f9376170c3d846e080500f6e467d |
|
BLAKE2b-256 | a2f4b8deed89d7610aa59c54896eb7394b0f9d48deef9da4d603098111e7ea3e |