8000 GitHub - WISE-Community/WISE-Docker-Dev: Develop WISE using Docker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WISE-Community/WISE-Docker-Dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WISE-Docker-Dev

Introduction

If you're looking to make changes to WISE, whether it's for the server (WISE-API) or the client (WISE-Client), you've come to the right place!

WISE development uses Docker. Docker simplifies and standardizes the development environment so that developers can quickly and easily start developing WISE.

Requirements

  1. Your machine will need at least 10GB of RAM to set up WISE development using Docker.
  2. If you are using Windows, It may be easier to use WSL2. Update .wslconfig to allocate at least 10GB of RAM to WSL. (reference)

Setup

  1. Install Docker from here. In the Docker preferences, set the RAM to at least 6GB.
  2. In the same folder, checkout WISE-Docker-Dev (this project), WISE-API, and WISE-Client.
$ git clone https://github.com/WISE-Community/WISE-Docker-Dev
$ git clone https://github.com/WISE-Community/WISE-API
$ git clone https://github.com/WISE-Community/WISE-Client
$ ls
WISE-Docker-Dev
WISE-API
WISE-Client
  1. Run npm install in the WISE-Client directory
$ cd WISE-Client
WISE-Client $ npm install
  1. Run docker compose up in the WISE-Docker-Dev directory
WISE-Client $ cd ../WISE-Docker-Dev
WISE-Docker-Dev $ docker compose up
  1. Wait for everything to download, compile, and start. This can take a while depending on your computer and connection speeds. When you see this in the output, all of the application has started:
...
wise-client  | ** Angular Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **
wise-client  |
wise-client  |
wise-client  | ✔ Compiled successfully.
  1. When you see the above output in your log output, WISE will be running at http://localhost:80. Go there with your browser to load the WISE homepage.
  2. Log in with admin/pass, or previewuser/wise.

That's it! Any changes that you make to the source code (on both WISE-API and WISE-Client) will be automatically compiled and deployed. Changes to WISE-Client will trigger an automatic reload in the browser.

Additional resources

Please head over to our wiki page for additional documentation, like how to run the unit tests and commonly-used Docker commands.

Open-source license: GNU General Public License, v3. See LICENSE.txt for details.

To see WISE in action and for inquiry science curricula developed by the WISE research team at UC Berkeley, visit https://wise.berkeley.edu.

Developer discussions: https://github.com/WISE-Community/WISE-Docker-Dev/discussions

General WISE discussions: https://wise-discuss.berkeley.edu/

About

Develop WISE using Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0