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.post20190311.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe48c066123c8e3c9315a441dd549a1a6fa15a65297a92df32bed97ef6b292d3 |
|
MD5 | 805c11ffc90e684b7819ea8d1c79de3c |
|
BLAKE2b-256 | e56ae3f868708f08ff276e539cf59823f2e1bd32996481ea0f1549e56c501c7b |
Close
Hashes for c2cgeoportal_commons-2.4.post20190311-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0054da44b926e818e6313a4120a52e567288e52852978dcf7f465505728a761 |
|
MD5 | 088b71f86ed3bfd71d1308798a5ef5d1 |
|
BLAKE2b-256 | 0cd4cee03d75eff314956bcea2f3a9e7951d7f6f7cfd105328f63380517682f3 |