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.4.post20190417.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81ff13245446915fac635cffeca8f622d22fdf510746c19bb5b73c6fb9d3574 |
|
MD5 | 8e845108f3aeab1e246282530f0439b5 |
|
BLAKE2b-256 | fd013f487f5b48ef5b55f4f2eac992e67c05daab7697e1f52d90d6ed52270dba |
Close
Hashes for c2cgeoportal_commons-2.4.post20190417-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7344dad653a8c3f9872095cdceaf53cd05eeaa95ce7bc9fec07e8a061b4cd2 |
|
MD5 | 3c45e568d539f50a2f4fd480cfa330ff |
|
BLAKE2b-256 | d61d3e47eb210829ab9c03678ec16a58d012e5ecfa45f2623de420dc01ddb818 |