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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9586a4399dc3e2349e05a76c24c4a71e31d9c6d6e3ced586b83f1979c95b10cd |
|
MD5 | 728c38cf3036e49c1c62704f9c34ab3e |
|
BLAKE2b-256 | 40aab2045acb7995cbb442fbb89a025d0a28c77e122500abe631ee76128f3167 |
Close
Hashes for c2cgeoportal_commons-2.3.6.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658e7773e5f1449005fe9a45b2737c848fe9b35392ec3434debd834afbda2200 |
|
MD5 | 843dba3d0d9916ff0d6a4a6312668ea9 |
|
BLAKE2b-256 | 4f78db21632714f141966babbea2bbfa8ee434796fe07922546b2772a8c6e898 |