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.4.dev8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347a412be7d42685d71e6e3122225dd2f22fb0a36f7c7a64b2ac2eb72e45ce77 |
|
MD5 | 43560ff7cdade385e57ceb210a3eab31 |
|
BLAKE2b-256 | ffaa4c055f9f564dccc3643adae3600b0c7af93edd5506b45e7c6bd87bc26bf7 |
Close
Hashes for c2cgeoportal_commons-2.3.4.dev8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b440fec2726a1320bbc870cc2ddc9d4c2270292fdd4d3cb14f9ff66c4ccf362b |
|
MD5 | fe39d1d110c0efe5ea767177df2f6abb |
|
BLAKE2b-256 | f87dd63e9ec18e07af0f2e2b7b4d970bfa59bce8b1ebb37b4629760aac310920 |