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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c09f47a04dd1e6fb5d2336d186e27606641b0d1cc85442fb5d1030e29a3b9f0 |
|
MD5 | 4b04545f566fd7537065d15ac40ca3c7 |
|
BLAKE2b-256 | f45ac424f58b7fa643b76a98a0144946ee11404dd80d65bd20b5c768416abfb1 |
Close
Hashes for c2cgeoportal_commons-2.3.5.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0470c48263ec0ae2baa5f4fcbb6ed81b2c9b4125ade2f1ae438989de8d4d5aff |
|
MD5 | 3a6d0cbe85233a8c893c97a609fcb22d |
|
BLAKE2b-256 | 1ad203886d83d9f3a231609ec254936bbd006c8e5ab4ad7164dc78fe52377328 |