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.post20190403.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f23d57d09947622c4f042867cbcd0e081399f38b9795e6801b83544a71f3332 |
|
MD5 | b3dc78e1bbd60b5c8617695263eceadf |
|
BLAKE2b-256 | 29e37c2e3d732e6b02401e23205d2e6df4bbac3efaf50bae18456499ae167d37 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190403-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d2ec3b82538d42be69c1a0594914b66dc4c978f6e65e041a6318d34d49b82e6 |
|
MD5 | cd0952561b9415202794aaa12d15020a |
|
BLAKE2b-256 | 324ecf8e8afae05c78af81e56b2567d090620a955529fe092ab14049ef4144a5 |