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.4.dev9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac5f9c8960b8c4fdd4b795af1f03a80e4e8a7f0b81661cec2f3b5cf12ef4addf |
|
MD5 | 94a10b7368434a76bd04e0c991ee8f5b |
|
BLAKE2b-256 | 13f32b13665496bca914ac6b498487da4a7a425d5af11145e1f3d0006ee12082 |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ece3a14f9eedf399d4f4ca4b2bc47bdf800ca9fbb5278695c95157b36dd3266 |
|
MD5 | db9cfe289dcc390728d15c7d244a63b9 |
|
BLAKE2b-256 | d0db577ff3ecf907bb058ddabe88bf6732b780b563350f55efbff1dd4a605cf7 |