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.post20190226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b610b522da00e0554bdb278a9b7fbcf7574a8da0b0327f07d0fa7263913e50c |
|
MD5 | 95f249a205e31d530aad85495e5cf097 |
|
BLAKE2b-256 | 404aad985b5c2fb4c17da915796c8e164f6b0a47ab19294e32542c4ec8a82ce7 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c2c86a5ac9aff34b7a0e06a5540366529af626bb2820c114170321485936ba |
|
MD5 | f667f54facfd5ddd8b17df711b0b32ff |
|
BLAKE2b-256 | 7a899c67de4145eeae08b6a60da5f794a989739579177cc5d7fa8433292fb61b |