|
| 1 | +# Welcome to the EventStoreDB's "From Scratch" series |
| 2 | +# <code style="color : green">Python edition</code> |
| 3 | + |
| 4 | +Cook up your own tasty recipes by following the following examples in the "FromScratch" series: |
| 5 | +1. .NET |
| 6 | +2. Node.js |
| 7 | +3. Python |
| 8 | +4. Java |
| 9 | + |
| 10 | +The **FromScratch** series provides practical path to learn a new framework. Follow this thorough set of instructions and example code and successsfully complete your initial project. |
| 11 | + |
| 12 | +# Goals of the project |
| 13 | + |
| 14 | +The Event Store Academy team (link to Academy when ready) wrote these with the following design goals. |
| 15 | + |
| 16 | +1. Solve the "Doesn't run on my machine" problem by configuring and verifying success in GitHub codespaces |
| 17 | +2. Clearly provide and explain all dependencies |
| 18 | +3. Include instructions to configure locally, including setting up a development environment |
| 19 | + |
| 20 | +The From Scracth cotent intends to provide EVERYTHING you need to get started in ONE place. |
| 21 | + |
| 22 | +# Using this repo |
| 23 | + |
| 24 | +### 1. Start with Codespaces |
| 25 | + |
| 26 | +A fast path to successfully running this code is to utilize GitHub codespaces. |
| 27 | + |
| 28 | +For more info on codespaces please visit https://github.com/features/codespaces. |
| 29 | + |
| 30 | +At the time of writing this all GitHub users receive 60 hours/month of free access to codespaces for non-commercial use. As such, all you need to get started is a GitHub account. |
| 31 | + |
| 32 | +Instructions for Running this code in Codespaces is available as a pdf here [Instructions For Running in Codespaces](./InstructionsForRunningInCodeSpaces.pdf) |
| 33 | + |
| 34 | +### 2. Cloning this Repo and Running Locally on your computer |
| 35 | + |
| 36 | +The steps needed to take this repository as is, and run locally are included as a pdf here. |
| 37 | +[Instructions For Running Locally](./InstructionsForRunningLocally.pdf) |
| 38 | + |
| 39 | +The main difference between running in Codespaces, and running locally is that you will need to install Docker so that you can run the EventStoreDB docker containt. And you will also need to install either a JDK, a .NET sdk, python, or node.JS depending on which of the "From Scratch" projects you are running. Please see the document for details. |
| 40 | + |
| 41 | + |
| 42 | +### 3. Setting up a local environment |
| 43 | + |
| 44 | +This document describes the steps we took to build these examples including |
| 45 | +* installing the programming language |
| 46 | +* creating a directory |
| 47 | +* setting up whatever additional tools are needed |
| 48 | + |
| 49 | +Also included are the steps you would want to take to prepare your code for sharing on github, either publically, or privately within your organization. |
| 50 | + |
| 51 | +These steps include: |
| 52 | +* initializing a directory for git |
| 53 | +* adding a .gitignore file |
| 54 | +* pushing your first commit |
| 55 | + |
| 56 | +Those steps are in this document [Setting up a local environment From Scratch](./SettingUpALocalEnvironment.pdf) |
| 57 | + |
| 58 | + |
| 59 | +# Next Steps and Other Resources |
| 60 | + |
| 61 | +Upon successful completion of your "From Scratch" project, you can continue practicing with the examples located at https://github.com/EventStore/samples. |
| 62 | + |
| 63 | +In particular, the [Quickstart examples](https://GitHub.com/EventStore/samples/tree/main/Quickstart) contain more thorough examples, and include content referencing Go, Spring Boot, and Rust. |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | +# Supporting Documents |
| 69 | + Included in the top level directory are the required resources: |
| 70 | + 1. A PDF [Instructions For Running in CodeSpaces](InstructionsForRunningInCodeSpaces.pdf) outlining the steps needed to launch codespaces. |
| 71 | + 2. A PDF [Instructions For Running Locally](InstructionsForRunningLocally.pdf) describing how to run EventStoreDB locally, including step by step details on how we built the project. |
| 72 | + 3. A PDF [Setting Up A Local Environment](SettingUpALocalEnvironment.pdf) describes the steps taken to build this project, that can be used as a template to get started on similar projects. |
| 73 | + |
| 74 | + |
| 75 | +# Most of all have fun! Once you know how to write and read events "From Scratch," you will be ready to cook up all sorts of tasty and more advanced recipes. |
| 76 | + |
| 77 | + |
0 commit comments