Code Monkey home page Code Monkey logo

Comments (2)

Madpeterz avatar Madpeterz commented on June 17, 2024

open the code in visual studio, select release then build
then select BetterSecondbot project and select publish.

if your using docker then use the premade images.

for using a cli to build I think its something like

dotnet restore "BetterSecondbot/BetterSecondbot.csproj"
cd /src/BetterSecondbot
dotnet build "BetterSecondbot.csproj" -c Release -o /app/build

but I am not 100% as we dont automate the building of the windows / linux versions as we use docker for everything <_<

from secondbot.

freddii avatar freddii commented on June 17, 2024

working now, i am using dotnet-sdk-3.1 now instead of 6.0:
cd $HOME
wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

sudo apt-get update;
sudo apt-get install -y apt-transport-https &&
sudo apt-get update &&
sudo apt-get install -y dotnet-sdk-3.1

sudo apt install git-core

git clone https://github.com/Madpeterz/SecondBot
su -
cd /home/test/SecondBot/
dotnet restore "BetterSecondbot/BetterSecondbot.csproj"

cd BetterSecondbot

mkdir app
cd app
mkdir build
cd ..

dotnet build "BetterSecondbot.csproj" -c Release -o ./app/build
chown -R test /home/test/SecondBot/BetterSecondbot/
exit

cd /home/test/SecondBot/BetterSecondbot/app/build/
./BetterSecondBot
./BetterSecondBot

cd /home/test/SecondBot/BetterSecondbot/app/build/default/
nano bot.json

cd /home/test/SecondBot/BetterSecondbot/app/build/
./BetterSecondBot

from secondbot.

Related Issues (20)

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.