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.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d53e4ec00f6a705c776298e0b59cdf22459019614b8ba2bd6ff640fffec4c5d |
|
MD5 | 3f920b6cc148d32839b028ae3fb2bf0a |
|
BLAKE2b-256 | 1e756407742799575dd4ab14ea10f6a334c5a2ae08f6585d789435fc94a816bf |
Close
Hashes for c2cgeoportal_commons-2.3.5.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1f0e8e1a8d424d85b729ae6af13dd4afa0805780050382f6f07b601a53fa221 |
|
MD5 | 028df8e624b254e3fb30c480efa2daa8 |
|
BLAKE2b-256 | b5e1d4b10250e0720e654bb492c592e58b958a3a71179c07e780eb702b028bfe |