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.4.74.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ed3b8a416ba17f48e4e2586545a999e09fe0adb4200be41ba9f6cadbeb6f8c |
|
MD5 | f7fc45159393a5913529f0cb8564f612 |
|
BLAKE2b-256 | 75da968cde29970aeeb8cd887e4cc77e6ee0a002eeaac1265514a6fd8214257b |
Close
Hashes for c2cgeoportal_commons-2.3.4.74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4d1b537fd348e28985435c92df5a9da3899437ff744f58a2b561235b049749 |
|
MD5 | fad08095ad6ad4025b7b11f6d9b159c7 |
|
BLAKE2b-256 | bd78bb0d0528e3091ebddca239501bae33d1cffc953a55a1b73b62d120e932a9 |