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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f89a0a4d62ecbd47c12ab294d48e5852e22d9822accbdfb205e697f85f492f0c |
|
MD5 | 17b7d46f5c93a66f3cc7134a4d6406de |
|
BLAKE2b-256 | 7440277fa21c2cb01dd569b6c12a90cfc6d37490350ba2d9b0e6803e981fac00 |
Close
Hashes for c2cgeoportal_commons-2.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 376412b38b29707540a41b75b9414d1eb9493e50bbea6886c7ea34c802880c17 |
|
MD5 | eee67648c3deda020f7fffe8e94c7497 |
|
BLAKE2b-256 | fce900b2e9795c61736b897437145b131a2af4d1038db83f8a09f6c2fb31aae2 |