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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41274d4f12ba2588a5cd3b97a868989d70431cf4e2c0efe7e97456f28b25f73c |
|
MD5 | f0a2685961d5ede609e7964a4958cab5 |
|
BLAKE2b-256 | 8777bac18e8da4f0bc6f4499bbf2fabe1c5251e2e475398f0ccfe9319878d194 |
Close
Hashes for c2cgeoportal_commons-2.3.5.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ff71ed79d04bf8bcf727bd56d2acf56259c54827191e795a2b88ab278860d4c |
|
MD5 | 1161f759a80201ea9a4d4d4fcd191f21 |
|
BLAKE2b-256 | 88e51712e4b0288959ff9f4b8917704c071609fbbe7d7f8363910bcea23082da |