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.0.dev11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bfa62bffe5e01eba6914cc74ed73893dfce3e20e7cda5c8aa2547717d5e7a7f |
|
MD5 | 193185586ca7f0451e76c15bf4e1ab39 |
|
BLAKE2b-256 | 5c9c09b31e6f39cfcdbd051d8f17445b996b2c82ff4bd4cd2317ce6b1b6fed39 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68b73ada07f007de2ac1028ba55499f96e281b94d057dc75eb140ff7b350ba3d |
|
MD5 | 6df63242fe0a35b3928c11d1553f9b17 |
|
BLAKE2b-256 | eccbb0336a620c159a9688fa3347c2ba3e328f0e213499095aa887616a8c8ea6 |