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.post20181213.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd10b255038e494a158eea0acfaf9e9d32e3683fc9771204b3db25188bd899a6 |
|
MD5 | ff564aef95c4ab4955e355c539d71ca3 |
|
BLAKE2b-256 | 4ab4b529d8dfd57ca3faf987ad521603165a290c03a802914a26a0f5400eaaf4 |
Close
Hashes for c2cgeoportal_commons-2.4.post20181213-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0470f45c67e7535fa7d4842186072b533c9603de64931ebde950f4df97c1a28c |
|
MD5 | 8d6d43e6f39588da7fe810f69cc5fb72 |
|
BLAKE2b-256 | 9eed9da915300b36e29f149d1a16cb14ec99a114bf8e56f6cb421eab993bc90b |