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.post20181218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ef0eaafecd3e5cf3539fddaf3e8d992d6e688897d39407ba0f7e3882ab2f46 |
|
MD5 | 0da3bb1a4a611c93062bc2b78dc7c888 |
|
BLAKE2b-256 | e358308f0c61cfce62c2c0a959093c88ad6ffbc732af27fe34addb980b41b4f9 |
Close
Hashes for c2cgeoportal_commons-2.4.post20181218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d90fab04bb49c1cfc48ca61db7399041bea5a967ad206a31a9d1e6eb0ddf78 |
|
MD5 | 4e9e82f117f1bb241aba91e4dd3795b1 |
|
BLAKE2b-256 | d4201d632efac7ac1a124935757ef5de5e920259f4cafc31a125153451039903 |