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.0.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff60dec0c8068fb7fc4522979781ba08c683afaea48be28810b62c4d4ab507c |
|
MD5 | 4716004d5a361a03316da56da940cedb |
|
BLAKE2b-256 | 79aa7d8e0cd04154f0a2cc4c1a28388fd2ba3beb065e3c09aed872adf219241c |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b99b3e3916aebf8b3b4f4b9cec7d305d11f84fafb43003a7d82e6377735768 |
|
MD5 | 2a67879918f179bdfaef63e4fbc68aab |
|
BLAKE2b-256 | e5991737f4f3bcfc371e6551481226f97b2926b13949651436761b2ec2b41deb |