Skip to content

vevcom/projectNext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Next

Project Next is the new website for Sanctus Omega Broderskab.

Getting started

For getting started please refer to our Getting Started Guide.

Development

Have the docker deamon running, then run:

npm run docker:dev

or run

docker compose -f docker-compose.dev.yml up --build

DevContainer

To setup the development container see this guide.

If you want to have access to the container outside vscode, use the command bellow.

docker exec -it -w /workspaces/projectNext pn-dev /bin/bash

Working with the DB

To remigrate the db, just rerun the prisma container To regenerate the client-libary from the schema file run:

npx prisma generate

in the projectnext container

Seeding

Seeding happens automaticly in devlopment. If you want to reseed the database without restarting the docker container, run the following command. This will remove all data from the database, and then seed all the data afterwards.

npm run docker:seed

Reinstalling node_modules

Since we are using volumes in dev, the dev container should keep itself up to date with your working directory. But you will need to reinstall packages manually in projectnext upon changing package.json. Run:

npm ci

inside projectnext-container

Production

This project is not meant to be deployed, but a build can be made by running

docker compose -f docker-compose.prod.yml up --build

Lint

To lint the project run

npm run lint

To auto-fix linting errors run

npm run lint -- --fix

Migration from omegaweb basic

To migrate the data from omegaweb-basic, run the following command inside the projectnext container.

npm run dobbelOmega-run

If you are connected to our test database on openStack, make sure to be on the ntnu network to be able to connect.

About

Project Next is Omegas new website coming soon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages