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.post20190306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e919091a0dc69598c25e5a592568d2edf0326c68072585abfbaa5740a56922 |
|
MD5 | f051deda3673faaa7440c32badaf8c39 |
|
BLAKE2b-256 | 6c98594e61eeb6f1f0d566229bc6e5d5348832881e76ea2a8028b934a4d11518 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157c48828409734db0c2d0d63bc9b50321dfcb1aa8a2f2a86eab9779093b79e5 |
|
MD5 | 0189c7bd441de45c9c96e1e46141bdec |
|
BLAKE2b-256 | 4aab221dbaf72473d94f7217cff9c38ef689d5d86126d0f51a557e64dbe8399d |