Skip to content

Openmesh-Network/xnode-nextjs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xnode Nextjs Template

Template to make your Nextjs app Xnode/Nix compatible.

Modification Steps

  1. Replace all instances of "xnode-nextjs-template" with the name of your project. This should be unique, as no apps with the same name can be run on a single Xnode.
  2. Build your Nextjs app
  3. Once your app is ready for deployment and runs using nix run, push to GitHub and copy your GitHub url (e.g. https://github.com/Openmesh-Network/xnode-nextjs-template).
  4. Go the the App Store in Xnode Studio and go to the advanced tab.
  5. Paste your GitHub url and enter the name of the project you choose during step 1.
  6. Hit deploy and wait for your app to be ready.
  7. Copy the deploy link and replace the one click deployment url in the next section. (to allow others to easily deploy your application)

One click deployment

Commands (in root folder)

nix run

Commands (in nextjs-app)

npm i
npm run dev
npm run build
npm run start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published