Skip to content

Commit

Permalink
Merge pull request #26 from gaia-platform:kenneth-gaia/issue23
Browse files Browse the repository at this point in the history
kenneth-gaia/issue23
  • Loading branch information
kenneth-gaia authored Jul 27, 2021
2 parents 6b52d60 + 7a6b931 commit cdcb937
Show file tree
Hide file tree
Showing 11 changed files with 5,071 additions and 163 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ data_*/

### My Ignores
SandboxVisual/Labs/
Website/node_modules/*
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@
A web-based environment to test and learn about the Gaia Platform for free!
# Sandbox development setup
## Website development
You'll need Python 3 with Pip. Clone the repository and run the following:
You'll need to

* Install Flask via Python 3 with Pip in order to launch the website
* Aquire dependencies via npm in order to make changes to the JavaScript code

### Installing Flask
[Download and install](https://www.python.org/downloads/) the latest version of Python 3 (which should come with Pip). Next, clone the repository and run the following:
```bash
cd {where_you_cloned_the_repo}/Website
pip install -r requirements.txt
```
This will install Flask if you don't already have it installed. You are now ready to launch the Flask server with `./start_sandbox.sh`. All HTML/website sources are contained under the `Website` directory.
This will install Flask if you don't already have it installed. You are now ready to launch the Flask server with `./start_sandbox.sh`. All HTML/website sources are contained under the `Website` directory. If you intend to make changes to the JavaScript code, you'll need to install dependencies.

### Installing other dependencies
[Install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) the latest Node.js and npm. Then run the following:
```bash
cd {where_you_cloned_the_repo}/Website
npm i
```
Once all dependencies are installed, you can make changes to the code and recompile them with `npm run build` (do this in the `Website` directory).
## Sandbox visual development
You'll need to

Expand Down
Loading

0 comments on commit cdcb937

Please sign in to comment.