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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed97092703e0b092abeb9cbf8777d47ae0f4e3ed6be2830f919a94aaf56ff4e |
|
MD5 | 035f4dcc6415c6213a344d2602dc7b02 |
|
BLAKE2b-256 | 495e945d85fd309a51766e79e4f03f2fca6fa118446d694421b13f7c7a9e4aee |
Close
Hashes for c2cgeoportal_commons-2.3.5.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47353d0541899b729e962c14e2725b2f3a1d4f0f8ce95a78a6e912b83cb801c0 |
|
MD5 | b7ab0047a0fa0f2ecd5768eadf38cfcb |
|
BLAKE2b-256 | 78f968151fbd6b2e3f423894ad024c0c33df2b0d81cef180f355b0db21c3bb35 |