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.4.post20190418.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cc3e0493e7eb851c8d8ea86180629693151a0853a2cc17dbbf92bc909f994f |
|
MD5 | 24d7be6e174df3bdcaf0bde5db639513 |
|
BLAKE2b-256 | 2c1b989eabf884745bc94d4646b07228757291ede2b029cf7e036df36f902b50 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190418-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a2e8726796c3102a210ef7fbd64819a68fd54ab6a581f44c1f653e18dda318 |
|
MD5 | 82bcedd23cbff29568a1c948d323f75d |
|
BLAKE2b-256 | e507a3e55a6383ce1629ec0bb346e1ac539f3f715e91b66d19a5d971f5558520 |