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.5.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac57682f4fd36bab32ca9ce7dbc06971260259a7ac2fd351b809a8050a5a1cd |
|
MD5 | 51537644dc026e0ff58c1c0ef6c33dfe |
|
BLAKE2b-256 | f3bd9e588f0ec3f54c2e74174a19fc6e1a4cde268a551bf186c4b996402b864c |
Close
Hashes for c2cgeoportal_commons-2.3.5.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5b47ddf79f40521c12c923a9341d3282ee813a3534be9a96a824b8a9cbf19e |
|
MD5 | 5c44de50b169d406ba4f8bd0cd8d3b04 |
|
BLAKE2b-256 | b80215cb46820f06b26b074e5e0d17b6cb341a326cc20500fbc793c09746c45b |