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.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73c4878bd4856fee3087213834eef5f45db65854e60cb15bdda78604b4f35e3 |
|
MD5 | b36f2d52699ac9b5a7ce95af2ac82e92 |
|
BLAKE2b-256 | 4c8982b0f18a956c42985913c53d65568474cf2e8c716c0bc0ef32b089fcf1eb |
Close
Hashes for c2cgeoportal_commons-2.4.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 639af795ff9fc5150e56566339e5b8915d08b7f76a196991b1e6b4570e82a3ad |
|
MD5 | 1ae14646b60a2504fee27aeb98464734 |
|
BLAKE2b-256 | 7f1e17a2a446b3eab88abb0ce78dd88e7f6c938084dbe786bbfae77a664bce61 |