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.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3f942398a2a8c2efdcf6dd5bb1c8ab30b79f27824711859a2d24b2494569b9 |
|
MD5 | f860f4637f727773c43ce0788b5552d5 |
|
BLAKE2b-256 | 3fd816544265001c22a1843679efbc6186fddda7d1d47b86b6b30fb6b4d444cf |
Close
Hashes for c2cgeoportal_commons-2.4.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bface2f0c0a0764ee622fdd5b46803c082982d9280307c6ce9715174e0860ff3 |
|
MD5 | e1e1fa5397d6572283fd9874f90164ae |
|
BLAKE2b-256 | bf2bd91dc591e143803798dc68403edd43cf8bdf141be82ba15757dd47d10e78 |