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.post20190326.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830432db0c2c0de909cb40a181eb27e02b8db53a97702b3cc2b28e96cdfa7109 |
|
MD5 | 9b46dbe15c16187e9ff07621fd45c971 |
|
BLAKE2b-256 | 81d35a2eb9fa080a7c0d4eda28d1009df201a7000fe4470effd7dd3fcf2f45de |
Close
Hashes for c2cgeoportal_commons-2.4.post20190326-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 577418da435ac11f9cbd3001f9c60736cd62990318bc498eeb997804928a3c1f |
|
MD5 | e98296d851789580630ae45973fb77bd |
|
BLAKE2b-256 | 86c72c8be5c245da050204e3a2ea6782dbfba8f9601e16622d6a927997038d6e |