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
c2cgeoportal_commons-2.3.4.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6ae1be462d4254592c6c355f3702a7c3f9ebbe5006859a4e18c7d3b4f5c129 |
|
MD5 | c97a64d96044e132d81e8150b22a76e8 |
|
BLAKE2b-256 | 7104a89fee208aa7a75ff440ffd70dfee743c5b6304b19490658daff06fa8837 |
Close
Hashes for c2cgeoportal_commons-2.3.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49051028b95245b1781e5d367d4521fbf5c8bf9b86af0abadc47e2c36f6e417e |
|
MD5 | 7037a09cd34433badbbd8d723df23042 |
|
BLAKE2b-256 | 096467b587897f7b1f5fb17d70d38286228df53068744b7a788f6b217a65f24e |