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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b34fb6540dd21423890a9ee079acbc058afedce72e7289debbbe7c9fedb3af7 |
|
MD5 | 35c6dd39f5582a6523a2243655f6f319 |
|
BLAKE2b-256 | 1904a6b8292504c41ccbdd2493faeba55b55149a8368cdb6b7ac9ed45763e36a |
Close
Hashes for c2cgeoportal_commons-2.3.5.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2263812029b7303defd54cc46e2aa308e600ebea822cfc192c9c9739eeb8a9 |
|
MD5 | e18b46d1b1b21b48619eae9da83f79d0 |
|
BLAKE2b-256 | b8012694a997f5c0213fc4384833078ce4581ba787305652b245e872664140f8 |