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.5.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78648508c5c6b3fa032b8740f95525a14cd34f14e2b7454110b3512557441ee7 |
|
MD5 | 691abfadefea4c49fd884ccb76fe539f |
|
BLAKE2b-256 | df312a3994532f30903c1ff737f84a62d0259c0c8038439e1dff00d2af80e123 |
Close
Hashes for c2cgeoportal_commons-2.3.5.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cad054c0f9d8044483fbcc1a71305c07dfc73fd04b765c0f96b3734ea65c85b |
|
MD5 | 0f8f3c8defc70fbbd9a09612600d45ac |
|
BLAKE2b-256 | 0b72cfd1c45b8384ba90e08664f2169a7bccffb224f1cb2face3eca714f18a83 |