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.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8260e146ad53031096560b424feb1f8ef7f31fb45f180c82b8675e6c8c02599 |
|
MD5 | 38138624713d307b5a90359d4a08d470 |
|
BLAKE2b-256 | 99fa4692dee4f0dcfd900c5df97108470d1972658d4b47bbf84c2eefb217b0ab |
Close
Hashes for c2cgeoportal_commons-2.3.5.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fac78a220bf84efb30c034fdba5194c54af737783f3bcd0ef89a5fd4a7604b2 |
|
MD5 | b5c92bd106e54511fd9ad1d2a543bbdd |
|
BLAKE2b-256 | a4c5f2877ecac812c4a3d71718806a18410dabe679fd513e17de4be98eb02860 |