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.post20190228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e78457f86c4ec622ce56885e640accc6d367fd627fa4563fe42e492a4ec22a |
|
MD5 | f7a414e2def3ae336f491bbd39a94b34 |
|
BLAKE2b-256 | 46780d74fadd1833d9e5b18e3bf90f6328014c1b1ae79f88d31ba83f594e09d0 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1317525b4b76270b1b441839da4b9b2a93bf0b4f3703d6e19fbaf22e586905 |
|
MD5 | a3032a87f43cf754de59960a51f16cd8 |
|
BLAKE2b-256 | 9e59221d9a8eda6861968b3d9f2f44e93c65a01925ca5403fdb10513600fc314 |