Skip to content

fs-geofs/geofs-website

Repository files navigation

Website der Fachschaft Geoinformatik Münster

We are no longer allowed to use wordpress. Therefore, I built this site using next.js.

Dynamic Content

Even though it is built using next.js, there is a way to include content dynamically, as there is a way to control certain aspects of the site dynamically.

  • Blogposts ("news") can be added by adding a simple html file to ./content/gi/news-articles
  • Job Postings can be added by adding a simple html file to ./content/gi/jobs
  • Other dynamic stuff is controlled via JSON in ./content/gi/page-content

Development

This app uses next.js framework and App-Router. Routes inside the side are given by the directory structure within ./src/app. Page content is then defined inside the page.js file.

First, clone this repository.

git clone 

Next, install dependencies

npm install

Then, run the development server.

npm run dev

Changes to the site are then visible in real-time in the browser ander localhost:3000

Testing

Test what has been changed by creating a production build

npm run lint

If your code has any Errors or warnings, they will then be shown in the console. Fix them in the Source files and run this command again, until the process passes without Errors or Warnings.

npm run start

If everything is okay, you can Deploy.

Deployment

This app is best deployed via Docker. A Dockerfile is provided, as well as a prebuilt package.

Pipeline

Pushes and Merges on Main will automatically create a new Package. (TODO)

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published