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.dev5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1818186e0d18ed0497c3ee60e931babaf10337ed45eea4b5f8aba9cfbe7064 |
|
MD5 | 5dee1a2a0912a1e6eb6e635c75af203a |
|
BLAKE2b-256 | c300e548fd963e9ac05d58d8e925c9e7b3deeff617022f50e212da9877ffd8ab |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b6e839b90cd2a723f9cc03ca391c8030190bb33723d4d373bee93baa10c55f |
|
MD5 | 9fa3d63c77febd1f587e12ef7a530960 |
|
BLAKE2b-256 | f1ca4351bfe0c9835d1e016c6de6a57d1678e3d629ff540a1a087db601a9c33b |