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.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0f93b3c250d6688ea73833f342c1809d655f4375442a9b08832ecbe110d6e8b |
|
MD5 | 1cf1f709716f513dbe1135b5f61f9daa |
|
BLAKE2b-256 | 89cf2ff01a6c453059dcd221824afc03ac0f129934214e94b44cb4547117e3c7 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0814fef81674687cea540397493fbd955925d5eb4253c5701a9958d093b2a6c |
|
MD5 | 68cd3b4b8ad11dff72724298fa185fc8 |
|
BLAKE2b-256 | 4bb4837f13b080e5ac5aa74a30058943a79097df592b5cd9c944a909671ab25d |