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.post20190115.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abe196d265ab937cfaf1bfa885335c4e8b426b268436f3c964a7c5e33516a1f |
|
MD5 | 2eed5b2413dab8da989769815d25d490 |
|
BLAKE2b-256 | ec6fb74de58298a9024f2ea91403b2604ab60660ba6195a33ba6cd9cce270a3b |
Close
Hashes for c2cgeoportal_commons-2.4.post20190115-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8650e76b02d0b2b2b194ec7962906efff4b09a3efc4b79279bf80fa3bff39260 |
|
MD5 | 2eb74230fcc5efc7b3170d8e6cf7c2a3 |
|
BLAKE2b-256 | 7df70ba60dd810400a5e0698b554f23af90fe569300f18c0076a6ce7ac46a73b |