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.0.dev13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09720a5ecc141a04a9a130f0d40f80b2cfde1d68811b3c5eb756698b3cf0cdf0 |
|
MD5 | 456ee16005b9113c81f328eb188bebf6 |
|
BLAKE2b-256 | 254e0cbf00f36d1d699e2f864a6c7118284fb30e48c069b801052fcb12ddd200 |
Close
Hashes for c2cgeoportal_commons-2.3.0.dev13-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f3893d24213579ba4e90425cae65ca11e2c3641e66aa2336bb6a3663455923 |
|
MD5 | 4057c5a9b9b2e68785166dbc60ddb954 |
|
BLAKE2b-256 | d5003ea289f0f0691d779a7e36cae4d6bd0b9d6e4250cd0fbb497a8c94cbafea |