diff --git a/en/SUMMARY.md b/en/SUMMARY.md index 453c0d15647..f90bbb71c61 100644 --- a/en/SUMMARY.md +++ b/en/SUMMARY.md @@ -2,7 +2,6 @@ * [Introduction](README.md) * [Installation](installation/README.md) - * [Installation (RunCode Cloud)](cloud_development_setup/README.md) * [Installation (Chromebook)](chromebook_setup/README.md) * [Installation (OS X/Windows/Linux)](installation/README.md#osx-windows-linux) * [Command Line](installation/README.md#intro-command-line) diff --git a/en/cloud_development_setup/README.md b/en/cloud_development_setup/README.md deleted file mode 100644 index 6ac43a58741..00000000000 --- a/en/cloud_development_setup/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# RunCode Cloud Environment setup - -> **Note** If you already worked through the [installation steps](../installation/README.md), you do not need to also complete the RunCode Cloud Environment setup. Please skip straight to [Introduction to Python](../python_introduction/README.md). - -{% include "/cloud_development_setup/instructions.md" %} \ No newline at end of file diff --git a/en/cloud_development_setup/instructions.md b/en/cloud_development_setup/instructions.md deleted file mode 100644 index 9c3f4abd3bb..00000000000 --- a/en/cloud_development_setup/instructions.md +++ /dev/null @@ -1,85 +0,0 @@ -If you are using RunCode Cloud development environment, your installation experience will be a little different. You can ignore the rest of the installation instructions as you do not need to install anything locally, you just need to create three online accounts. - -## Create a GitHub account -Go to [GitHub.com](https://github.com/) and sign up for a new, free user account.Skip this step if you already did -this in the previous step so you could sign up for RunCode. - -## Create a RunCode account -Go to [RunCode.io](https://runcode.io/) and sign up for a new, free user account. You need to have a -[Google.com](https://www.google.com/intl/en-GB/gmail/about/) account or [GitHub.com](https://github.com/) -which you can sign up with. - -## Create a PythonAnywhere account {#pythonanywhere-account} -{% include "/deploy/signup_pythonanywhere.md" %} - -## Command Line -To open the Ubuntu terminal on RunCode, go to Workspaces → New Workspace → Blank, and select the “Tiny” Workspace Type. After waiting for it to start, this will open a new Visual Studio Code workspace which has an Ubuntu terminal in the bottom pane. - -Ubuntu is a version of Linux so for all command line instructions later in the tutorial you can follow Linux instructions. - -## Virtual Environment -Before we install Django we will get you to install an extremely useful tool to help keep your coding environment tidy on your computer. It's possible to skip this step, but it's highly recommended. Starting with the best possible setup will save you a lot of trouble in the future! - -So, let's create a **virtual environment** (also called a *virtualenv*). Virtualenv will isolate your Python/Django setup on a per-project basis. This means that any changes you make to one website won't affect any others you're also developing. Neat, right? - -All you need to do is find a directory in which you want to create the `virtualenv`; your home directory, for example. On Windows, it might look like `C:\Users\Name\` (where `Name` is the name of your login). - -For this tutorial we will be using a new directory `djangogirls` from your home directory: - -{% filename %}command-line{% endfilename %} -``` -$ mkdir djangogirls -$ cd djangogirls -``` - -We will make a virtualenv called `myvenv` by running `python3 -m venv myvenv`. -It will look like this: - -{% filename %}command-line{% endfilename %} -``` -$ python3 -m venv myvenv -``` - -`myvenv` is the name of your `virtualenv`. You can use any other name, but stick to lowercase and use no spaces. It is also a good idea to keep the name short as you'll be referencing it a lot! - -## Working with a Virtual Environment ->Start your virtual environment by running: ->``` ->$ source myvenv/bin/activate ->``` - -Remember to replace `myvenv` with your chosen `virtualenv` name! - -### Installing packages with requirements - -A requirements file keeps a list of dependencies to be installed using -`pip install`: - -First create a `requirements.txt` file inside of the `djangogirls/` folder, using the code editor that you installed earlier. You do this by opening a new file in the code editor and then saving it as `requirements.txt` in the `djangogirls/` folder. Your directory will look like this: - -``` -djangogirls -├── myvenv -│ └── ... -└───requirements.txt -``` - -In your `djangogirls/requirements.txt` file you should add the following text: - -{% filename %}djangogirls/requirements.txt{% endfilename %} -``` -Django~={{ book.django_version }} -``` - -Now, run `pip install -r requirements.txt` to install Django. - -{% filename %}command-line{% endfilename %} -``` -(myvenv) ~$ pip install -r requirements.txt -Collecting Django~={{ book.django_version }} (from -r requirements.txt (line 1)) - Downloading Django-{{ book.django_version }}-py3-none-any.whl (7.9MB) -Installing collected packages: Django -Successfully installed Django-{{ book.django_version }} -``` - -That's it! You're now (finally) ready to create a Django application! \ No newline at end of file diff --git a/en/code_editor/README.md b/en/code_editor/README.md index 03694b61ca2..c1ff8c58248 100644 --- a/en/code_editor/README.md +++ b/en/code_editor/README.md @@ -8,6 +8,4 @@ You're about to write your first line of code, so it's time to download a code e > **Note** You might have done this earlier in the [Installation chapter](../installation/README.md) – if so, you can skip right ahead to the next chapter! -> **Note** If you have followed [RunCode Setup](../cloud_development_setup/README.md) you can skip this section as Visual Studio Code is pre-installed on the platform. - {% include "/code_editor/instructions.md" %} diff --git a/en/django_installation/README.md b/en/django_installation/README.md index de8abc08a06..e5e8b62d653 100644 --- a/en/django_installation/README.md +++ b/en/django_installation/README.md @@ -2,8 +2,6 @@ > **Note** If you're using a Chromebook, skip this chapter and make sure you follow the [Chromebook Setup](../chromebook_setup/README.md) instructions. -> **Note** If you're using RunCode, skip this chapter and make sure you follow the [RunCode Setup](../cloud_development_setup/README.md) instructions. - > **Note** If you already worked through the [installation steps](../installation/README.md) then you've already done this – you can go straight to the next chapter! {% include "/django_installation/instructions.md" %} diff --git a/en/django_start_project/README.md b/en/django_start_project/README.md index ce1ef96ca0c..8ecb4e1bbd5 100644 --- a/en/django_start_project/README.md +++ b/en/django_start_project/README.md @@ -252,13 +252,6 @@ or on Glitch: https://name-of-your-glitch-project.glitch.me ``` -If you are using RunCode cloud platform, the URL will look something like this: -`https://8000-soft-limit-18855079.eu-ws4.runcode.io/`. To view your own instance, the URL will be like: - -{% filename %}browser{% endfilename %} -``` -https://8000-the-name-of-your-runcode-instance.eu-ws4.runcode.io/ -``` You can open this in another browser window and you should see the Django install worked page. Congratulations! You've just created your first website and run it using a web server! Isn't that awesome? diff --git a/en/installation/README.md b/en/installation/README.md index 41c8e7b74a5..6546ba6c28e 100644 --- a/en/installation/README.md +++ b/en/installation/README.md @@ -17,22 +17,6 @@ If you are attending one of the [Django Girls events](https://djangogirls.org/ev In this tutorial you will be building a blog. In order to do that, as you go through the tutorial you'll be instructed on how to install various software on your computer and set up some online accounts as needed (if you are using local desktop environment) or instructed on how to create online accounts only (if you are using cloud development). This page gathers all of the installation and sign-up instructions in one place (which is useful for some workshop formats). -# Cloud Development -In this tutorial, the cloud development platform we will be using will be [RunCode](https://runcode.io/). RunCode is a cloud development environment which people can use without the need to install Python, Django and Visual Studio Code editor locally on their machines. This cloud environment enables anyone to work from any device that has an internet connection, including cellphones, tablets, laptop or desktop. - -This removes the need for you to install packages on a borrowed laptop or the need for you to own a laptop to attend the workshop or follow this tutorial from home as you only need to set up three online accounts. This will also save you time required for setting up your development environment. You can always do the [installation](installation/README.md#command-line) later on as a follow-up after finishing the tutorial. However, loading the development environment requires good and fast internet for this solution to work for you. - -> **Note** There are sections of this tutorial which depend on the platform you are working on. If you follow the local installation steps for Windows, Linux, OS X or Chromebook, you will need to follow instructions for your operating system. If you follow RunCode Cloud Environment setup instructions, then you will need to follow instructions for RunCode development environment. Where no specific instructions are provided for RunCode Cloud Environment, follow the Linux instructions as RunCode runs on Ubuntu Linux. - - -# RunCode Cloud Development Setup -To set up RunCode Cloud development, follow the instructions below: - - -{% include "/cloud_development_setup/instructions.md" %} - - # Chromebook Installation To set up your Chromebook, follow the instructions below: @@ -43,9 +27,7 @@ data-id="chromebook_setup" data-collapse=true ces--> # OS X, Windows, Linux Installation {#osx-windows-linux} -> __NOTE:__ You can skip right over this section if you have followed [RunCode Cloud Development](cloud_development_setup/README.md) or [ChromeBook](chromebook_setup/README.md) installation steps. - -If you are not using RunCode or Chromebook, your experience will be a little different as you need to download and install some software locally as well as set up online accounts. +If you are not using a Chromebook, your experience will be a little different as you need to download and install some software locally as well as set up online accounts. To install software on your machine, follow the instructions below: diff --git a/en/intro_to_command_line/open_instructions.md b/en/intro_to_command_line/open_instructions.md index 0bfede71549..bc229c56b10 100644 --- a/en/intro_to_command_line/open_instructions.md +++ b/en/intro_to_command_line/open_instructions.md @@ -25,12 +25,3 @@ Go to Applications → Utilities → Terminal. It's probably under Applications → Accessories → Terminal, or Applications → System → Terminal, but that may depend on your system. If it's not there, you can try to Google it. :) - - -> **NOTE** If you followed [RunCode setup instructions](../cloud_development_setup/README.md) follow these steps to open command line. - -If you already created a Workspace on RunCode, access it again from the Dashobard. To open a new workspace with the the Ubuntu terminal on RunCode, go to Workspaces → New Workspace → Blank, and select the “Tiny” Workspace Type. This will open a new Visual Studio Code workspace which has an Ubuntu terminal in the bottom pane. - -Ubuntu is a version of Linux so from now on you can follow Linux instructions. - - \ No newline at end of file diff --git a/en/python_installation/README.md b/en/python_installation/README.md index d03e285e533..c2d343ec52b 100644 --- a/en/python_installation/README.md +++ b/en/python_installation/README.md @@ -12,7 +12,5 @@ Python originated in the late 1980s and its main goal is to be readable by human > **Note** If you already worked through the [installation steps](../installation/README.md), there's no need to do this again – you can skip straight ahead to the next chapter! -> **Note** If you're using [RunCode cloud environment](../cloud_development_setup/README.md), you do not need to install Python as it is pre-installed on their platform so you can skip straight ahead to the next chapter! - {% include "/python_installation/instructions.md" %}