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.post20190305.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 971fcf578747f2cb25f669a5848251ae200df58ab4e7dfd5aa2ace452396bc74 |
|
MD5 | 7b2780af588ca6d3272fa7d64c66f4a1 |
|
BLAKE2b-256 | 370d2f14f7b0d9924ebdfe51b4ed037376dfbe4afca4f74ec2c4850b0b8d0a2d |
Close
Hashes for c2cgeoportal_commons-2.4.post20190305-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e2067d54a8b6eb2517b491256031d4e013d5337e012406d35c3229364aa2eb |
|
MD5 | 03f7723b6b1e453bc3bee00ac543541d |
|
BLAKE2b-256 | a2d5f14307eefe6db5d42b5e0c80112c69c74562a59c4f91e80742bb2cbe215c |