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.post20190117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e28c703955562b7847a0bda6867bbb562315a49fecc21f0f4f838815274ecaa |
|
MD5 | 845f4bfbdf9f3f43b0b84aa7d2299ec2 |
|
BLAKE2b-256 | 526bdde3a5e96716c4e4b3f55a8683ebd85f72c70e78d81cd80d3bacc2496655 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b516706bf24467919904f34437439b9f6186efb4b0353f0b6aa8e5a5061e76 |
|
MD5 | 0057c936a855e0700ec3a2570c1df8bb |
|
BLAKE2b-256 | f698dda36d84799a822723af75dc9d3a2126621890cd16557094b40e8d5c1886 |