Coder Social home page Coder Social logo

eirini-zormpa / gutenberg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oxfordrse/gutenberg

0.0 0.0 0.0 1.43 MB

Home Page: https://oxfordrse.github.io/gutenberg

Shell 0.01% JavaScript 1.73% TypeScript 97.44% CSS 0.14% HTML 0.13% Dockerfile 0.55%

gutenberg's Introduction

Build and Test

This is a Next.js project bootstrapped with create-next-app.

To see our full documentation, please visit our documentation site.

To get a development environment running, follow the instructions below:

Installing dependencies

Install Node.js and npm or yarn. Then run:

yarn install
# or 
npm install

You will also need a postgres database that you can use.

Getting Started

Clone the repository at https://github.com/UNIVERSE-HPC/course-material into the .material folder.

Copy the .env file to .env.local and fill in the values. If you don't need to be able to authenticate, you only need to edit the DATABASE_URL value to the URL of your database.

Then run the migrations:

yarn prisma migrate dev

Running the development server

The development server can be started with:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Prisma Studio

Prisma Studio is a GUI for viewing and editing the database. It can be started with:

npx prisma studio

The prisma command only reads from .env and not .env.local, so you will need to either copy the values from .env.local to .env, or use a command like dotenv to populate the environment variables. For example:

npm install dotenv-cli -g
dotenv -e .env.local npx prisma studio

Deployment

Gutenberg is automatically deployed to fly.io by a GitHub action whenever a new commit is pushed to the main branch.

To see how to deploy the application, see our deployment guide.

gutenberg's People

Contributors

martinjrobins avatar alasdairwilson avatar iamjulian0 avatar dependabot[bot] 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.