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.post20190130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b84ab2af41891648aa46617fe2f41c673f59c106cbee10af74247256ac450f8 |
|
MD5 | b8dde96d6c5f9cc4810f9f330d51c52c |
|
BLAKE2b-256 | a5b3a6f79ad7b7eb84de4d9e85e347a7a2825a395dd5f9a89561f7bfb9df8769 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792136daaedd8b2b37687c14424bdcac3520c09c1b2069f996eb25e1bab45123 |
|
MD5 | 83259e71b369fc4d4ac7090f6ceaec2f |
|
BLAKE2b-256 | 27c20d89e59c308429fad270adab5124041aac7335e4c8186a39ae8a985106ca |