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.post20190219.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8eec48dd565aadcd2da3af0f1f1ff4d826e9539e6b38ac6d13c6f9546107eae |
|
MD5 | d92f13627d550ddf634a49d65024dea0 |
|
BLAKE2b-256 | f1a0c9d1ad00608d9f8769848e4d43fb732962d746ef860522d8d8f8ad8bb4e1 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190219-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5be51175953e8179fe0c627bbf29262d026547da42f67fa6a18c071418efe743 |
|
MD5 | bedd252a257ce5aba3021b9fabe7e0f0 |
|
BLAKE2b-256 | 038c097e0783b28adc364d58dcf5632933e90d2e97709b52baf3cf5a6189533b |