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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736f93b39668d061f5e64a16f35ca5d04672b0b3a12c0fde72645d89aaf55b0b |
|
MD5 | 86329920fbd0bc13e460357fe3263590 |
|
BLAKE2b-256 | 50310db2064404a65efc6f7aab3d51be51b06434b318703872dfe788f4132a9e |
Close
Hashes for c2cgeoportal_commons-2.3.5.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf5d6356c0ad8963620d86771daf20c1c2bf83c422b935fde38b6c36a65c174 |
|
MD5 | b51af2ed607030d184de57b8d099a419 |
|
BLAKE2b-256 | 86a018fe3f68378bedc304de671956e8a8a508c2d24940e643413b548b6fb94d |