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.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2879e85bcaec459bb15058b1b800d4b25e52683c5ec6410cfce47a039bba08 |
|
MD5 | e6e5016055c05975d308ee795108f25d |
|
BLAKE2b-256 | 6f4ce5db44a46044f93b143a382744bb2a638a094afded8654fe3a33cfad3802 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64840e077e4edac01016c053da9431509b8af6b7de53b567440dd3045aea524c |
|
MD5 | eba54be9f91573dd82b8764175b642f3 |
|
BLAKE2b-256 | 06267eaf3bf5528471c8e11ae90755240e4d271aa5dc404b6b269f990b7ae76f |