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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c974857565767e3bba5231f2da067b21a816d01087b83fa8743f279e77b26a82 |
|
MD5 | a98ad01de161bea2cd1ed43e2b273dad |
|
BLAKE2b-256 | bcfa4a7f5779f08b2549f9ba65fd3ebe3f390442fa0ee4dbfc25ed350483ff21 |
Close
Hashes for c2cgeoportal_commons-2.3.5.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9604bb4a19529fe89131a2ddb338f5d57f5a3a7e95cd54a55c612eca1e5a9974 |
|
MD5 | aa9463d88a5d8cc1aa10c02ffdbb5ab4 |
|
BLAKE2b-256 | 970bf1a7631f0be3652e86648624745ce9eedf60b0e392894030af7900cc2713 |