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.6.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23dec6e8503fa9db5d25bae173f5597de3220b90979bca8ef781a90e448cf866 |
|
MD5 | 140f13c3f190bd35f1a4d67300307469 |
|
BLAKE2b-256 | 1383d8b38b4eef933dda3b48e647ba0711e7b9dd7fb8d362e869dacbd8714771 |
Close
Hashes for c2cgeoportal_commons-2.3.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c44de82476ef2286e6482984a1bfb8dc3eace6fb4eb2d5b4f76320b6a6d76e |
|
MD5 | 230d7421f2b6a367ae0c8244e2c0e08d |
|
BLAKE2b-256 | 1f9992507479b1130c922959806eb3ac194092382ba8f5b3bec972dee83dbd6e |