# PyCon Colombia 2018 website

This site is currently a minimal Flask app serving a single template.

# Workflow

There are 2 branches, `develop` and `production`.

## Develop
Default branch is develop and is deployed with gh-pages via Lektor to http://staging.pycon.co

## Production
After test have been carried out by the QA Team, the changes from `develop`
will be merged in `production` and deployed gh-pages via Lektor to http://pycon.co
and http://2018.pycon.co

# Run locally (Unix)

## Using Pip and virtualenv

### First install

```
$ python -m venv venv
$ venv/bin/activate
$ pip install -r requirements.txt
```

### Usage

```
$ venv/bin/activate
$ FLASK_APP=app.py python -m flask run
```


## Using conda


### First install

```
$ conda create -n pycon2018 python=3.6 --file requirements.txt
$ source activate pycon2018
$ FLASK_APP=app.py python -m flask run
```

### Usage

```
$ source activate pycon2018
$ FLASK_APP=app.py python -m flask run
```

# PyCon Colombia 2018 website

This is the repository for the pycon 2018 website at [pycon.co](https://pycon.co/), built using [lektor](https://www.getlektor.com)

# Workflow

There are 2 branches, `develop` and `production`.

## Develop
Default branch is develop and is deployed with gh-pages via Lektor to http://staging.pycon.co

## Production
After test have been carried out by the QA Team, the changes from `develop`
will be merged in `production` and deployed gh-pages via Lektor to http://pycon.co
and http://2018.pycon.co

# Run locally

## Install Lektor

Running installation script:
```
$ curl -sf https://www.getlektor.com/install.sh | sh
```

Using pip:
```
$ pip install -U Lektor
```

### Run server and make changes

To run local server:

```
$ lektor server
```

If you also want to update the webpack files, you need `npm` installed
and then run it like this:

```
$ lektor server -f webpack
```

Update readme with lektor instructions, we are not longer using flask.
Update readme with lektor instructions, we are not longer using flask.
[ci skip] [skip ci]
