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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5be3766f502d16de7e6f887ef91b33bb8fd62adf5d07d8bea6552dacd3f254d6 |
|
MD5 | eb327f45061ec8fadae8d1b33945dfff |
|
BLAKE2b-256 | 64c9e3457e93589c316e8d9d7c583eb6fb7d9023c881869b1f6402954355b0d2 |
Close
Hashes for c2cgeoportal_commons-2.3.5.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3358c9973920a566e4bda55e885c12bb18262bb04221b6a55619857a31a0718 |
|
MD5 | 9d91db7b2d8476a8d4f6438efdc2da36 |
|
BLAKE2b-256 | cd08357348dead4a2df20afea07b52c0386ac767cf732761155e8edb5dff0c6a |