Command line tool to run any of the SCE projects. Works on Windows, Mac and
Linux. Available with the sce command.
Install with one command:
curl -sSL https://raw.githubusercontent.com/SCE-Development/SCE-CLI/master/go/install.sh | shThis downloads the correct binary for your system and installs it to /usr/local/bin/sce.
Run in PowerShell:
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/SCE-Development/SCE-CLI/master/go/install.ps1" -UseBasicParsing | Invoke-ExpressionAfter installing, open a new terminal and run:
sce --help
Use the command sce with a command and repo name.
Run sce --help to see all available commands.
Each repo has nicknames you can use interchangeably:
| Repo | Nicknames |
|---|---|
| Clark | clark, dog, clrk, ck, c |
| MongoDB | mongo, db, mongodb |
| Quasar | quasar, q, idsmile |
| SCE-discord-bot | sarah, sce-discord-bot, discord-bot, discord, bot, s, d |
| cleezy | cleezy, url, z |
| SCEta | sceta, transit |
Clone an SCE project from GitHub:
sce clone <project> [--ssh]
The --ssh flag clones using the SSH URL instead of HTTPS.
Link a repo directory to the sce tool (run from inside the repo):
sce link <project>
Run an SCE project with Docker:
sce run <project>
To start only MongoDB:
sce run db
Copy config.example.json to config.json for a project:
sce setup <project>
Create a test account for the SCE website. Make sure MongoDB is running first:
sce run db
Then create a user:
sce create [level]
Levels: admin (default), officer, member, nonmember, pending, banned.
Log in with the generated email and password sce.
Run eslint --fix on running containers (Clark and SCE-discord-bot only):
sce lint <project>
Make sure the project is running with sce run first.
Update the SCE CLI to the latest version. Runs the appropriate install script for your platform:
sce update