Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CRLF #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.es.pycon.org
2023.es.pycon.org
42 changes: 21 additions & 21 deletions DockerFile
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
FROM python:3.7-slim as development
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV PORT=8000
EXPOSE $PORT
RUN apt-get update \
&& apt-get install --no-install-recommends -qy git curl bash build-essential
ADD requirements.txt /
RUN pip install -r /requirements.txt
WORKDIR /project-root
COPY develop_server.sh /
RUN chmod +x /develop_server.sh
CMD /develop_server.sh start $PORT
FROM python:3.7-slim as development

ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV PORT=8000
EXPOSE $PORT

RUN apt-get update \
&& apt-get install --no-install-recommends -qy git curl bash build-essential

ADD requirements.txt /
RUN pip install -r /requirements.txt


WORKDIR /project-root

COPY develop_server.sh /
RUN chmod +x /develop_server.sh

CMD /develop_server.sh start $PORT
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License
Copyright (c) 2023 Python Canarias
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License

Copyright (c) 2023 Python Canarias

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
82 changes: 41 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
# pycones23
Conferencia Nacional de Python 2023 · La Laguna · Tenerife · Islas Canarias
## Como empezar
### Utilizando Docker
#### Dev containers
- Se ha configurado el devcontainers para usar en vscode y en github, para usarlo sólo deberíamos abrir el proyecto dentro del contenedor
#### Docker-compose
- Para trabajar con docker-compose deberemos tener instalado docker y docker-compose, https://docs.docker.com/compose/install/
- Ejecutar el siguiente comando dentro de la carpeta del proyecto `bash docker-compose up` para ver la web consulta http://localhost:8000
- Nota: El puerto que usa el contenedor es el 8000, para trabajar con el proyecto, asegurate que no tienes ningún contenedor con ese puerto en uso.
### Utilizando Python
Crea un nuevo entorno virtual (opcional) e instala las dependencias:
```bash
python -m venv env
source env/bin/activate # macOS y Linux
env\Scripts\activate # windows cmd
env\Scripts\Activate.ps1 # windows Powershell
pip install -r requirements.txt
```
Genera el contenido, y comienza el servidor en localhost
```bash
PYCONES_BUILD_TARGET=WEB pelican -l content -s pelicanconf.py -r --bind 0.0.0.0
```
visita `http://0.0.0.0:8000` para visualizar el sitio web.
#### v1.0 12/04/2023
# pycones23

Conferencia Nacional de Python 2023 · La Laguna · Tenerife · Islas Canarias

## Como empezar

### Utilizando Docker

#### Dev containers

- Se ha configurado el devcontainers para usar en vscode y en github, para usarlo sólo deberíamos abrir el proyecto dentro del contenedor

#### Docker-compose

- Para trabajar con docker-compose deberemos tener instalado docker y docker-compose, https://docs.docker.com/compose/install/
- Ejecutar el siguiente comando dentro de la carpeta del proyecto `bash docker-compose up` para ver la web consulta http://localhost:8000
- Nota: El puerto que usa el contenedor es el 8000, para trabajar con el proyecto, asegurate que no tienes ningún contenedor con ese puerto en uso.

### Utilizando Python

Crea un nuevo entorno virtual (opcional) e instala las dependencias:

```bash
python -m venv env
source env/bin/activate # macOS y Linux
env\Scripts\activate # windows cmd
env\Scripts\Activate.ps1 # windows Powershell

pip install -r requirements.txt
```

Genera el contenido, y comienza el servidor en localhost

```bash
PYCONES_BUILD_TARGET=WEB pelican -l content -s pelicanconf.py -r --bind 0.0.0.0
```

visita `http://0.0.0.0:8000` para visualizar el sitio web.


#### v1.0 12/04/2023
Loading