Giter Club home page Giter Club logo

space-custom-apps's Introduction

space-custom-apps

Custom Spacefile templates for Deta Space.

These are custom apps tailored for programming languages / frameworks that are not supported out of the box by Deta Space.

Languages

Some things to note:

  • These Spacefile/s and starters are not tested on bigger / large projects. Use it accordingly.
  • Base your project from the Spacefile provided, do not just copy-paste.

How to add your own ?

Always check if the programming language / framework already exists in the repository example.

  • Create a folder with the programming language / framework.
  • Take a http web framework within that language's ecosystem and follow the default guides.
  • Setup Spacefile and .spaceignore accordingly.

space-custom-apps's People

Contributors

tbdsux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

space-custom-apps's Issues

Can You Provide Tutorial On How I Can Write Spacefile For ASP.NET App?

Hi Bro,
I really liked your work. I need a little bit of help. I am new to deta space and having problems writing spacefile for dotnet web apps.

I am sharing my Dockerfile for your help.

Docker File:

`
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["MoviesMafia.csproj", "."]
RUN dotnet restore "./MoviesMafia.csproj"
COPY . .
WORKDIR "/src/."
RUN dotnet build "MoviesMafia.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "MoviesMafia.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "MoviesMafia.dll"]
`

Waiting for your reply

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.