KO
|
EN
gitlite — search
Search
#python
#csharp
#javascript
#nlp
#react
#machine-learning
#ios
#arduino
#rust
#java
#lstm
#semantic
space-cli
★ 30
Open GitHub ↗
Deta Space CLI
Download README (.md)
Explore Similar Repositories
stacks
:
share your stack
space-pipe
:
GitHub Action to push your project to Deta Space.
starters
:
Example Space apps to help you get started with Space.
formate
:
Build forms in minutes
serverless-chatgpt-discord-bot
:
Serverless ChatGPT Discord bot hosted on Deta Space.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
space-cli
?
Download (.md)
# Space CLI ## Running the CLI ```bash # Run the CLI go run main.go [command] # Build the space binary, then run it go build && ./space [command] # Install the space binary to your $GOPATH/bin go install ``` If you want to test the CLI against a variety of projects, you can use the deta/starters repo: ```bash git clone https://github.com/deta/starters go run main.go -d ./starters/python-app [command] ``` ## Customizing the api endpoint You can customize the root endpoint by setting the `SPACE_ROOT` environment variable: ```bash SPACE_ROOT=<custom-api-endpoint> space push ``` You can also set the `SPACE_ROOT` environment variable in a `.env` file in the root of your project, and load it with a tool like [direnv](https://direnv.net/). Other configuration options can be set in the .env file as well: - SPACE_ACCESS_TOKEN ## Running unit tests ```bash go test ./... ```