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.post20190110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69d4ec1ccbec7b2ae3d2a9628219d5aab7e3e82a7376524b2bee13866aa6a290 |
|
MD5 | 80001ca1be3dc27bfa47ab30c713f46e |
|
BLAKE2b-256 | ca203889b5404da96f2fe10375e2f5b3eeeff8123df9bb38bae243082c502eb7 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442406ae5d86447ef2721bc53c4ee3861715ff2da98ca7de51bc87eb05c79632 |
|
MD5 | 612a1ece219c30cdac95eed12f3b8537 |
|
BLAKE2b-256 | 16ad95d91918a6e7a22a6e264316158888286ae522d5b36f24db4d1993133c67 |