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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa745711e047f42dc70697ac4259148dedd471d1e53b4bf9f01ea3da117b1a9c |
|
MD5 | 3641f8e17e88a01c940bc597554e1eb4 |
|
BLAKE2b-256 | 980dac31090dace135c9918d0fb56d46cd324cd4344356d228b1ae6004e64e4a |
Close
Hashes for c2cgeoportal_commons-2.3.5.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 051637d90e68984547af1396617a56246a6b283f125a35ea27e41102619b83fb |
|
MD5 | 208ba1e625030ba29b334518d08487f3 |
|
BLAKE2b-256 | 0ac40d5735e1d1dcb77532740192bca06766d9dcc8c57f083a6c61766cdd6c56 |