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.6.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b8874c7bbf34c58197c3235d64f22a6edfb874eb6673eca73d44148a57d77e |
|
MD5 | d1d0ea4cdf721954983e2dde5ae823a4 |
|
BLAKE2b-256 | 95da4c3b8dfddaeb7cff0d4ba26dcd2de67b8ddd1ffb2a0daa522fcd651069ba |
Close
Hashes for c2cgeoportal_commons-2.3.6.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b86f4b332b2d58743b3af7f4e0c45fa0ed9ff338ffa7d0f5b497f06006b551 |
|
MD5 | 0a1ec4a092bd07a095f2b2c2a06632ae |
|
BLAKE2b-256 | 20cee599f456155d87e898ad6b923e01cf38f648106d13358c14609a0601347f |