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.post20190401.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5249e0830e0ce0b56660e5019b695584dda7c6da2addae3ec4fd68fe36df509 |
|
MD5 | 4d1ce0188bf6ea4ad2815229e1a9bd7c |
|
BLAKE2b-256 | 5da5b7b74db71b86cc5e36384ab1fdfd18ad7d009b6d630340d9d4c619806273 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190401-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a2b5c4f34ce3559cb7ab37d2cf861fdc3d0e27468c8a646556923f3a1f82a65 |
|
MD5 | 8a08431e23c41c26f9112d7cc1cc139f |
|
BLAKE2b-256 | f767cb3b515c35f88ce04386c7114a883a32ce4ce0b46d7ff8e1d559ae731773 |