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.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af9ff5eda3eb34c430d372771b9eb9af9da6a63728fcf6b4482149783ee969e7 |
|
MD5 | 1162b50f8c1518eb9317f2a19264094d |
|
BLAKE2b-256 | cf7d874744c0ab1ae73d06a2b7ba5b95c7cd16897c764b82f73872ab481ec73f |
Close
Hashes for c2cgeoportal_commons-2.4.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88283b3b4fa74911a713c7669e6d036d45061390bdbe90dc6408f8ca2795707f |
|
MD5 | 469888203bff4fec669bc06237551d1e |
|
BLAKE2b-256 | 2f4345b69aa727966f99994a593bb2252df75d5ca49de641fd1b98bc6e5e6138 |