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.post20190108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83baa9e472321f99899eb05e8d458a695c21512f60c7e37fd54c6b005512bda6 |
|
MD5 | 3bb8bbf50e644c2563d657f101d7a175 |
|
BLAKE2b-256 | 5199c6f3d74e1e928769851f3a9cfd461e5975b352f525e78724ae9bd30b3a3d |
Close
Hashes for c2cgeoportal_commons-2.4.post20190108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b379cf0eaa0e919665687513fba10c68e6b6b7623fe79206a4b6d9e9865efed6 |
|
MD5 | f00a2e7878e5f0539dc490bdfe893ed0 |
|
BLAKE2b-256 | 210cc335f212769b812eb6e9eb12506eecf1fc155eb19590363e3801dd577e8e |