8000 GitHub - CCLDArjun/SCE-CLI: The SCE development environment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CCLDArjun/SCE-CLI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCE Development Environment

To work on any of the SCE projects, clone this repository and run python3 sce.py setup.

Setup

This will clone and setup Core-v4 and SCE-discord-bot, as well as allow the command sce to be ran from the terminal.

Windows

Before starting, ensure you have python3 installed and the launcher option was selected at the time of setup (check the second to bottom box!):

image

Note: You may get an error asking you to install the Visual Studio build tools. A link to download is here.

Afterwards, ensure you have the launcher installed by running this in your terminal:

py --version

You should not get an error but instead the version given to you e.g. Python 3.X.X

You can now setup the tool with

py sce.py setup

For windows users, you will be prompted to add this to your path for the sce command. image

To do this open your control panel and search "path": image

Select Edit environment variables for your account. You should be taken to the below view where you should paste the path (see bottom entry in below screenshot).

image

You should now be good to go! Reload your VS Code window and open a new terminal. The command sce should work now.

Mac/Linux

Ensure you have python3 installed!

Then, simply run

python3 sce.py setup

After reloading your terminal, the sce command should work.

Available Commands

Presubmit

This tool runs presubmit checks for a project. For example:

# To run tests on all projects
sce presubmit -p <project name>

Available project names are Core-v4, SCE-discord-bot and dev. So to run presubmit checks for Core-v4, we would do:

sce presubmit -p Core-v4

Run

This command will run a number of services for development. For example:

sce run -s <service name>

Available service names are:

  • frontend: core-v4 frontend
  • server: core-4 backend server
  • discord: discord bot project
  • core-v4: core-v4 project
  • mongo: mongodb on port 27017

Note: you can run multiple services at once e.g.

# runs the discord bot and core-v4 backend
sce run -s discord server

If you wanted to run everything at once, do:

sce run

About

The SCE development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0