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.5.49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0605fe3e49a58ee8f872a91e0adad81f41f3d1f3fe486e63d5981c7605e3caec |
|
MD5 | e7682ecded191b670af8aa0345ba773b |
|
BLAKE2b-256 | 571cbb7a11971aa659b6a5d661c5f145d3d25b6db01a856e7e0feda88a39614c |
Close
Hashes for c2cgeoportal_commons-2.3.5.49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7beb92d0968571cf766d27e980e40291ae481eb0ae6bb6eb34928bba37d3ee2 |
|
MD5 | 8895c051908e80317afcae169e6719b7 |
|
BLAKE2b-256 | f00bddce0894329b41efc29ab5bd4c6349e6420c4801b63dac483ebe790fa97a |