Coder Social home page Coder Social logo

rdwz / deta-starters Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deta/starters

0.0 0.0 0.0 118 KB

Example Space apps to help you get started with Space.

License: MIT License

JavaScript 6.62% Python 3.62% Go 8.70% TypeScript 32.53% CSS 0.77% HTML 38.37% Vue 4.48% Svelte 4.91%

deta-starters's Introduction

Starter Space Apps

This repository contains a collection of example Space apps to help you get started with Space.

Quick Start

  1. If you don't already have a Space account, create one for free here.

  2. Install the Space CLI and link your Space account to the CLI. Instructions to do that can be found here.

  3. Clone this repository and navigate to an example app directory.

    git clone https://github.com/deta/starters
    cd starters/python-app
  4. Create a new builder project on Space.

    space new
  5. Push your project to Space and create a development instance.

    space push
  6. A development instance of your app is now live on Space! Find it in the Builder and use it to test your app.

Important: running space new will create a .space directory inside your project. This directory contains sensitive information about your app and is used by the Space CLI to push your app to Space. Do not change the name of the directory, include it in any version control software, or add it to repositories.

Project Structure

Every Space project must have a Spacefile. This is the configuration file used by Space to build and deploy your app. Upon initializing your project, the Space CLI will automatically scan your project and generate a Spacefile.

Besides the Spacefile, your project needs to contain some code or assets to be deployed, depending on the type of app you are building.

Your project can also include a Discovery.md file which will be used to generate a Discovery page if you choose to release and list your app.

Deploying your Space App

Run the space push command to upload your code to Space, and the build pipeline will start packaging your app. Once packaging is complete, you will see your app's development instance in the Builder. You can use this instance to debug and test to make sure your app is ready for use.

Releasing your Space App

When you are ready to release your app , run the space release command. This will create a new release of your app and make it available for other users to install. If you want to make the app visible on Discovery, add the --listed flag to the command. Your app will get its own page that will display the contents of the Discovery.md file.

App List

Contributing

If you want to report a bug, submit a fix, add an app, or otherwise contribute, please read the contributing guidelines.

deta-starters's People

Contributors

abdelhai avatar lemonyte avatar tbdsux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.