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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb86cc59cce5d509f4d312fb71c114c79c70745d7934c994626682b67a7054c |
|
MD5 | 9178062e0bde7d886ea237031a34133b |
|
BLAKE2b-256 | 651c3151c66f3dfdacb35a15f20272d653a3bc1672d088252bf1f424d518f8ba |
Close
Hashes for c2cgeoportal_commons-2.3.5.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0d8ca1b2e8bdb901631e65693fb720c4f18a309b0b275cab6449824cc1623d |
|
MD5 | 3a12cc9fc6dc2fc61164e4a5b17ecf41 |
|
BLAKE2b-256 | 45d679730883e3e53cb2da658b94f63c96668861ae3f7654b3be41ff56c60aca |