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.post20190327.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab19373121ce6fc6740115351376fdeb8e41dc00c84e63cd636c158f7de3d83b |
|
MD5 | e4be65287072e42e9ed0999977aa481c |
|
BLAKE2b-256 | 5148ad04ec0ac91cc9204c6cb78cb33072bd82c89ff33e591ee3f90c8220a50c |
Close
Hashes for c2cgeoportal_commons-2.4.post20190327-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573c38d5dc8def4a1d5c54ce19a6e369a351996d34e23f6c131223371b0920f6 |
|
MD5 | 97a12c1d4acdb93acad4c469602016d7 |
|
BLAKE2b-256 | 7715eb44e27319b8ab33c3a90fb07e74966a0f1e95767759d3d37564285567dd |