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.3.0.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3d0e9c6989800071b7838502c0858369e446918c42a265a3db5617f831f516 |
|
MD5 | c445ec2bb2535c3745059953fffd2580 |
|
BLAKE2b-256 | a9f3c14c72ecde3df6067be67ad4600cfb77b292aaad0bd3968dfe2defdb7da8 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5245b38c8b470cdd778f22d981f342d883ce509466a3aec2c710a25a09947d |
|
MD5 | 053429411eccb23c09065708dbc2e1f2 |
|
BLAKE2b-256 | aee178ded8fd745bae02cf57a162494cc67130561b8131822b59eb4ee572106b |